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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ConditionalForamt in gridGroupingControl

Thread ID:





32063 Jul 21,2005 08:22 AM UTC Jul 21,2005 10:19 AM UTC WinForms 2
Tags: GridControl
Prathima Venkobachar
Asked On July 21, 2005 08:22 AM UTC

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 09:23 AM UTC

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 10:19 AM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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