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

GridGroupingControl + Filtering

I''m using a GridGroupingControl bound to a DataSet. Is there any way to use Grouping with Filtering? A GridFilterBar needs to be wired to GridDataBoundGrid and there seems no way to wire a GridGroupingControl to this. Is there a way to use these functions together?

1 Reply

AD Administrator Syncfusion Team January 21, 2004 10:33 AM

Yes. In future releases, you will be able to do this from the designer either writing a formula-like expression or with a wizard dialog. Now you can do it from code like: FilterCondition fc = new FilterCondition(FilterCompareOperator.Like, "N*"); RecordFilterDescriptor rfd = new RecordFilterDescriptor("School", FilterLogicalOperator.Or, new Syncfusion.Grouping.FilterCondition[] {fc}); this.gridGroupingControl1.TableDescriptor.RecordFilters.Add(rfd); This filters a column named School using an expression like [School] Like ''N*''.

Loader.
Live Chat Icon For mobile
Up arrow icon