I have a radgridview bindingsource that is being filtered using cell values. How do I prevent the bindingsource from being re-filtered when cell values change?
1 Answer, 1 is accepted
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 10 Oct 2022, 02:10 PM
Hello, James,
When filtering is applied and the user modifies a certain cell value from the filtered column, this automatically will show/hide the edited row according to the filter criterion. Hence, this will lead to showing/hiding the row at its correct place.
Please have in mind that adding a FilterDescriptor to RadGridView doesn't perform a one time filtering operation. While the FilterDescriptor is present in the grid, it is responsible to keep the rows filtered according to the filter condition. Even newly added rows will be shown/hidden considering the applied filter.
The possible solution for ordering the rows to any certain logic that is different than the default behavior described above is to use the custom filtering functionality that RadGridView offers. Thus, you can implement any rows filtering that fits your needs. A sample approach is demonstrated in the following help article: Custom Filtering.
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.