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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Autofilter in GridGrouping Control.

Thread ID:

Created:

Updated:

Platform:

Replies:

70326 Dec 6,2007 07:07 PM UTC Dec 7,2007 11:52 PM UTC WinForms 3
loading
Tags: Grouping
Mano Srinivasan
Asked On December 6, 2007 07:07 PM UTC

I don't know how to use AutoFilter option in GridGrouping control for WinForms application. Can you please create a sample and send it to me.

Thanks,


haneefm [Syncfusion]
Replied On December 6, 2007 09:22 PM UTC

Hi Jia,

AutoFilters can be enabled by setting the AllowFilter property to true. Here is the code snippet.

// ShowFilterBar for the Main table......
this.gridGroupingControl1.TopLevelGroupOptions.ShowFilterBar = true;

this.groupingGrid1.TableDescriptor.Columns["City"].AllowFilter = true;
this.groupingGrid1.TableDescriptor.Columns["Country"].AllowFilter = true;

For implementation, please refer to the FilterBar sample, that was shipped along with our product. You can find it in the following location.
\Syncfusion\EssentialStudio\5.2.0.30\Windows\Grid.Grouping.Windows\Samples\2.0\FiltersAndExpressions\FilterBar\cs

Please let me know if you need any further assistance.

Thanks for using syncfusion products.

Best regards,
Haneef


Mano Srinivasan
Replied On December 7, 2007 01:58 PM UTC

Hi Haneef,

I am using the Syncfusion version, 4.102.0.58 and I don't see the AutoFilter property for GridGroupingControl. Is AutoFilter property available in the version, I am using?

Thanks,
Manohar

>Hi Jia,

AutoFilters can be enabled by setting the AllowFilter property to true. Here is the code snippet.

// ShowFilterBar for the Main table......
this.gridGroupingControl1.TopLevelGroupOptions.ShowFilterBar = true;

this.groupingGrid1.TableDescriptor.Columns["City"].AllowFilter = true;
this.groupingGrid1.TableDescriptor.Columns["Country"].AllowFilter = true;

For implementation, please refer to the FilterBar sample, that was shipped along with our product. You can find it in the following location.
\Syncfusion\EssentialStudio\5.2.0.30\Windows\Grid.Grouping.Windows\Samples\2.0\FiltersAndExpressions\FilterBar\cs

Please let me know if you need any further assistance.

Thanks for using syncfusion products.

Best regards,
Haneef




haneefm [Syncfusion]
Replied On December 7, 2007 11:52 PM UTC

Hi Manohar,

Here is a minimal sample that shows you "How to enable AutoFilter in a GroupingGrid control?". Please try this and let me know if this helps.
FilterBar.zip

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.

Warning Icon 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.Close Icon

;