Home Forums WinForms controls Xceed Grid for WinForms Add dynamic Master/Detail Reply To: Add dynamic Master/Detail

User (Old forums)
Member
Post count: 23064

It depends if you want to add the new column to all the detail grids, or only to the one currently selected.

To add a column to all detail grids, you need to add it to the DetailGridTemplate, and call UpdateDetailGrids on the GridControl.

To add a column to only one detail grid, then you need to set the SynchronizeDetailGrids property on the GridControl to false, get a reference to the DetailGrid in question, and add the column to it.

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