Is there any way to add the detail grid data outside of the event callback? I don’t mean have the event callback call another method, I mean have another addDetailGridRow() method that uses that handle and adds a row to the detail grid later in your program (such as when a user clicks a button).
Basically I have overridden GridControl, DetailGrid, DataRow, and DataCell to hold some local variables and make adding data easier. It all works when I add detail grids from the InitializingDetailGridEvent callback, but when I try and access the DetailGrids later they do not show up. If I call gridControl1.DataRows.DetailGrids.Count I can see all the rows I added exist, they just don’t show up on the grid. Is there some update I need to be calling? Some redraw method I failed to override?
Imported from legacy forums. Posted by Mac (had 260 views)