Home Forums WinForms controls Xceed Grid for WinForms Compact Row Representation

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #14705 |

    Hello. I have next problem: Rows to display are very long and grid require horizontal scrolling. I want to show some columns from data table in maingrid and others not so important in detailGrid.
    So each row will contain detailgrid with one record.
    Is this possible? Or exist any another way to do this?

    Imported from legacy forums. Posted by Leksey (had 1930 views)

    User (Old forums)
    Member
    Post count: 23064

    This is not possible without a bit of tweaking.

    You either need to set your DB to reflect this, that is, split it in two table and make a relationship on an id field for each table.

    Or you could try to make 2 data adapters, configuring a TableMapping on each. The 2 adapters would point to the same table, giving different names to the table, then you could add both adapters to the same dataset, and create a relationship between the two on the primary key field. The rest would be normal binding to the grid.

    We have not tested this, so it is only suggestion.

    Imported from legacy forums. Posted by André (had 2882 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.