Home Forums WinForms controls Xceed Grid for WinForms Create detailgrid dynamically in winforms Reply To: Create detailgrid dynamically in winforms

Xceed Support
Member
Post count: 5658

Hi Saumya,

It is possible to do this, however the Grid is a
grid, not a TreeView… Meaning that a predetermined level of detail
must be defined by precising bindings.

Therefore you would have to
write code which will dynamically insert or remove a DetailGrid from
the GridControl’s DetailGridTemplates when you need to add or remove a
new “level” of indentation.

Also, when moving an item to a lower
indentation or to a higher one, you will have to write code which will
remove the instance from its containing list and add it to the target
list of your choice.

However, this is possible and you should not encounter any issues.

Imported from legacy forums. Posted by Marc [Xceed] (had 497 views)