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.
Syncfusion Feedback

ggc - need help hiding invalid CheckBoxes

Thread ID:

Created:

Updated:

Platform:

Replies:

57434 Mar 4,2007 07:10 AM UTC Mar 6,2007 09:46 AM UTC WinForms 2
loading
Tags: GridControl
Ryan Hardoon
Asked On March 4, 2007 07:10 AM UTC

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 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

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

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.

Warning Icon 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.Close Icon

;