If my ggc have more than one ConditionalFormats, how do I clear a specific ConditionalFormats if I know the name

If my ggc have more than one ConditionalFormats, how do I clear a specific ConditionalFormat if I know the name of the format...

I've tried some like..
if (this.gridGroupingControl2.TableDescriptor.ConditionalFormats.Contains("name1"))
this.gridGroupingControl2.TableDescriptor.ConditionalFormats["HiatusWeek"].??

I do not see a Clear() method

1 Reply

HA haneefm Syncfusion Team June 18, 2007 11:15 PM UTC

Hi James,

Try this code snippet.

grid.TableDescriptor.ConditionalFormats.Remove("ConditionalFormatName");

Best regards,
Haneef

Loader.
Up arrow icon