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.
Unfortunately, activation email could not send to your email. Please try again.

Filter Bar for nested groups/tables

Thread ID:

Created:

Updated:

Platform:

Replies:

50252 Oct 9,2006 04:50 PM Oct 11,2006 08:06 AM Windows Forms 1
loading
Tags: GridControl
George Thomas
Asked On October 9, 2006 04:50 PM

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.

Administrator [Syncfusion]
Replied On October 11, 2006 08:06 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;