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

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.
Live Chat Icon For mobile
Up arrow icon