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