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
close icon

GridConditionalFormatDescriptor and on the fly manipulation at runtime

I have a couple of GridConditionalFormatDescriptor added to the ggc. Is it possible for me to dynamically change the expression of individual GridConditionalFormatDescriptors at runtime or remove specific GridConditionalFormatDescriptors at runtime by name. Do I have to refresh the ggc for this to take effect?

1 Reply

AD Administrator Syncfusion Team March 14, 2007 04:49 PM UTC

Hi James,

You can use the Remove/RemoveAt method to remove the specified conditional descriptor at runtime in a grid.

this.gridGroupingControl1.TableDescriptor.ConditionalFormats.Remove("CondtionalFormatName"); //Remove ByName.
this.gridGroupingControl1.TableDescriptor.ConditionalFormats.RemoveAt(0); //Remove ByIndex

Best regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon