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.
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;
}
ADAdministrator 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;
> }
>