We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

ggc - need help hiding invalid CheckBoxes

Thread ID:

Created:

Updated:

Platform:

Replies:

57434 Mar 4,2007 02:10 AM Mar 6,2007 04:46 AM Windows Forms 2
loading
Tags: GridControl
Ryan Hardoon
Asked On March 4, 2007 02:10 AM

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.

Administrator [Syncfusion]
Replied On March 5, 2007 02:36 PM

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

Administrator [Syncfusion]
Replied On March 6, 2007 04:46 AM

Thanks Haneef,

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;