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. Image for the cookie policy date

ConditionalForamt in gridGroupingControl

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

2 Replies

AD Administrator Syncfusion Team July 21, 2005 04: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.


PV Prathima Venkobachar July 21, 2005 05:19 AM

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

Loader.
Live Chat Icon For mobile
Up arrow icon