The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator 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.