On the grid grouping control, I have implemented a custom cell type for displaying images; with an ellipsis button the user can click on to load an image (see attached code).
When the application runs, and no related grids are present, the image cell works, but when the image cell is on a related grid, clicking the ellipsis button has no effect.
Stepping through the code of the ElipsisButton class (inheriting from the GridCellButton class), on the OnClicked event, and retrieving the affected cell with the GridCellEventArgs arguments passed to the event, the CellValueType of the cell have somehow changed from typeof(byte[]) to null. When inserting a breakpoint on the OnDraw event in the PictureEditBoxCellRender class (inheriting from GridStaticCellRenderer), the GridStyleInfo.CellValueType perameter still returns typeof(byte[]).
I assume that when the CellValueType remains typeof(byte[]), I can assign image data to the cell. How could I prevent the CellValueType from changing? (or change it back) I am using Essential Studio 3.3.0.0.
Regards,
Wikus
image_cells.cs.zip