ggc - need help hiding invalid CheckBoxes

Hi,

my ggc has a boolean colomn (displayed as a CheckBox) that's relevant to only some of the rows.

So far I found that I can use the "QeryCellStyleInfo" event to disable it or to make it Radonly.
There are two problems as a result:
1. If I disable a cell, it no longer responds to mouse events and I need them for defining row colors on the fly.
2. Making a cell just Radonly doesn't distinguish it from other cells visually.

Does anyone know of a way to conditionally make a ggc cell not display its control (CheckBox or CheckBoxAdv in this case) at all ?


Thanks in advance.

2 Replies

AD Administrator Syncfusion Team March 5, 2007 07:36 PM UTC

Hi Ryan,

To change the celltype of the cell, you need to handle the QueryCellStyleInfo event. Please try the attached sample and let me know if you are looking different.
GroupCheckBox.zip

Best regards,
Haneef


AD Administrator Syncfusion Team March 6, 2007 09:46 AM UTC

Thanks Haneef,

I set CellType to "None" and it worked great.

Loader.
Up arrow icon