Hi Haneef,
Thanks for the reply. I have already looked in to the sample that you mentioned below. As you suggested I have set the Allowfilter for the column that requires filters. In my screen the filters are working but in the Grid the filtered rows are overlapping the other rows as shown in the screen shot. I have called this.gridgroupingControl.refresh() after adding filters; Please see the attachments for more details. I think the issue is with grid redraw after applying filters Please help me with this issue.
>Hi Uma,
To filter the data in the GridGroupingControl, create an instance of a RecordFilterDescriptor and add it to the RecordFilters collection in the TableDescriptor. The RecordFilterDescriptor will allow you to specify a string that holds a logical expression using any of the other fields in the data.
[C#]
// Adds a record filter that requires Col1 to be less than 4.
RecordFilterDescriptor rfd = new RecordFilterDescriptor("[Col1] < 4");
this.gridGroupingControl1.TableDescriptor.RecordFilters.Add(rfd);
Also refer the following browser sample under the FiltersAndRelationship category ( C:\Program Files\Syncfusion\Essential Studio\4.4.0.49\Windows\Grid.Grouping.Windows\Samples\FiltersAndExpressions\ )for more details.
FilterTutorial Sample-This sample demonstrates the creation of filters at design time.
Filter Sample -Filters can be set by setting the ShowFilterBar and allowFilter property. The AllowFilter can be set for the columns that require filter options.
Best regards,
Haneef
Filters.zip