Closed georgianastasov closed 3 weeks ago
After discussing this issue with the architects and design team, we've decided that it will not be treated as a bug fix or a new feature. As a result, no changes or implementations will be made to address this behavior.
Going forward, the grid will not retain or manage filters automatically when the data source changes at runtime. The rationale behind this decision is that the developer responsible for changing the data source is aware of the configuration and structure of the new data. If the new data set differs significantly, it will be up to the developer to handle this scenario appropriately by clearing the filters before or after changing the data source.
We believe this approach ensures greater clarity and control for developers when managing dynamic data in the grid.
Description
When using a grid with advanced filtering enabled (
allowAdvancedFiltering
set to true) and auto-generated columns (autoGenerate
set to true), an issue occurs when filters are applied to columns and then the grid's data source is updated. Specifically, when the grid's data source is changed, resulting in new columns being generated, the advanced filtering interface fails to display the filters that were previously applied. This leads to confusion as the applied filters seem to be lost, and users cannot see or adjust them for the new data.Steps to reproduce
allowAdvancedFiltering
andautoGenerate
set to true and enable advanced filtering.Result
After following the steps, the advanced filtering window opens but displays no filters, even though the grid still indicates that a filter is applied. This results in confusion as the user cannot see or modify the filters applied to the previous data.
Expected result
After changing the data source and applying new filters, the advanced filtering window should either:
Retain and display the filters applied to the previous data, or Notify the user that the applied filters have been forgotten or become invalid due to the data change.
Attachments