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.

ConditionalForamt in gridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

32063 Jul 21,2005 04:22 AM Jul 21,2005 06:19 AM Windows Forms 2
loading
Tags: GridControl
Prathima Venkobachar
Asked On July 21, 2005 04:22 AM

Hi, I am using conditional format expression in gridgroupingControl. I am using the code below.. GridConditionalFormatDescriptor fd = new GridConditionalFormatDescriptor("ASSET_ID_Check"); fd.Expression = "[ASSET_ID] < 0 && [FLAG] == N"; fd.Appearance.AnyCell.BackColor = Color.Silver; this.gridGroupingControl.TableDescriptor.ConditionalFormats.Add(fd); Earlier I was using Asset_ID < 0 now I want to add one more condition... But this is not working..is this right..? Thanks, Prathima

Administrator [Syncfusion]
Replied On July 21, 2005 05:23 AM

Instead of: [ASSET_ID] < 0 && [FLAG] == N try [ASSET_ID] < 0 AND [FLAG] LIKE ''N'' See the "Algebra supported in Expressions/Filtering" topic in the Essential Grouping User Guide.

Prathima Venkobachar
Replied On July 21, 2005 06:19 AM

Thanks a lot !!.. It works fine. Thanks, Prathima

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.

;