filterbar

is there a way to enable filterbar for all columns without actually looping through and enabling them? Currently, this is how i do it: foreach(GridColumnDescriptor gcd in grid.TableDescriptor.Columns) { gcd.AllowFilter = true; }

1 Reply

AD Administrator Syncfusion Team April 26, 2005 05:09 PM UTC

Hi Faraz, you need to manually loop through the columns and set the value. Your code is correct. Stefan >is there a way to enable filterbar for all columns without actually looping through and enabling them? Currently, this is how i do it: > foreach(GridColumnDescriptor gcd in grid.TableDescriptor.Columns) > { > gcd.AllowFilter = true; > } >

Loader.
Up arrow icon