Home › Forums › WinForms controls › Xceed Grid for WinForms › Extending rows in both master and detail grid to fit the space provided › Reply To: Extending rows in both master and detail grid to fit the space provided
When you populate the detail grids, you have access to the actual instance of the grid, not the template. You should be able to get the column and set its width. Moreover, if your detail grids are synchronize (GridControl.SynchronizeDetailGrids = true), then you only need to do it once.
void gridControl1_InitializingDetailGrid( object sender, InitializingDetailGridEventArgs e )
new AddingDataRowEventHandler( Grid_AddingDataRow );
“DummyColumn” ].Width = width;
Imported from legacy forums. Posted by André (had 390 views)