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


PV Prathima Venkobachar July 21, 2005 10:19 AM UTC

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

Loader.
Up arrow icon