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

Filter Bar for nested groups/tables

How do I attach a filter bar to nested groups.
I can get it on the topmost table but how on the one below it ?

thanks,

George.

1 Reply

AD Administrator Syncfusion Team October 11, 2006 12:06 PM UTC

Hi George,

To get the filterbar in the GridGroupingControl, You need to initialize the AllowFilter property along with ShowFilter property. Here is the code snippet.

//to allow the filterbar for particular column(ColumnName = "City").
this.groupingGrid1.GetTableDescriptor("TableName").Columns["City"].AllowFilter = true;

//to show the Filterbar for main table
this.groupingGrid1.TopLevelGroupOptions.ShowFilterBar = true;

////to show the Filterbar for all Nested table
this.gridGroupingControl1.NestedTableGroupOptions.ShowFilterBar = true;

//to show the Filterbar for all Groups..
this.gridGroupingControl1.ChildGroupOptions.ShowFilter = true;

Kindly refer to our broswer sample ( \\windows\Grid.Grouping.Windows\Samples\FilterBar ) for more details

Best Regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon