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.

GridConditionalFormatDescriptor and boolean field not working.

Thread ID:

Created:

Updated:

Platform:

Replies:

54855 Jan 18,2007 02:00 PM Jan 19,2007 03:39 AM Windows Forms 1
loading
Tags: Grouping
James Blibo
Asked On January 18, 2007 02:00 PM

I have a bit field from the database which I transform into a checkbox field type in the ggc.
This field is the first field in the ggc and is change dynamically in code based on some logic elsewhere.

I am using GridConditionalFormatDescriptor to dymanically color the row when this boolean field is checked/unchecked.

However, I can't get the boolean expression to work.

I have tried "[Selected] = 1", "[Selected] = ''true''" and just about everything else, but the conditional format is not being applied. I have a rate field in the same ggc and when I do "[rate]>0", it works fine!

Administrator [Syncfusion]
Replied On January 19, 2007 03:39 AM

Hi James,

Thanks for being patience.

Please try using the following code snippet to achieve the intend behavior.

>>>>>>>>> Code Snippet <<<<<<<<<
condDesc.Expression = "[Col0] LIKE 'true'";
>>>>>>>>>>>>><<<<<<<<<<<<<<<

Sample : GGC_CheckBoxIssue.zip

Have a nice day.

Best regards,
Madhan

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.

;