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 03:33 PM UTC

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.
Up arrow icon