Hello All,
I have a grid derived from GridControlBase. The grid displays objects as columns, the number of which isn't know until run time. The number of rows is fixed at 10, one of which is a nested grid cell which has 7 rows (6 check boxes and a drop down).
Populating the nested grid is proving difficult, as is getting any edits to the nested grid and saving them back to the objects.
If I specify the QueryCellInfo handler used by the outer grid for the nested grid cell, my application crashes inside the CommitCellInfo handler for the nested grid which is being called from the QueryCellInfo handler when values are assigned to the first nested grid cell row.
If specify that the nested grid cell use it's own handler, only the first column nested grid gets populated because I need the outer grid column index to know which object to populate the nested grid cells.
How do populate the nested grid cell with the properties of their related objects on startup?
How do I populate the nested grid cell of newly added columns (via the button at the top)?
How do save edits made to the nested grid cell back to the object?
thanks.
Attachment:
REPORT_ITEM_GRID_5b5bbfd1.zip