I have subclassed the CellViewerManager class, wrapping a GridControl, and overriding the SetControlValueCore method by adding rows to this control. For each row the CanBeSelected property is true. When I run the code I am unable to select individual rows on the grid, within the viewer. (No matter where I click in the viewer the SelectedRowsChanged event never fires.) The cell in question is in a detail grid, is not editable and has no CellEditorManager.
Any advice about how to select rows in a viewer in this context would be greatly appreciated.
Imported from legacy forums. Posted by Aaron (had 1459 views)
You could also subclass the CellEditorManager as you did the CellViewerManager, then set the grid inside to be ReadOnly. This should permit the user the select rows in the grid without being able to edit it.
Imported from legacy forums. Posted by André (had 1936 views)