DataSource Filters never Clear after first time Loaded!

0 Answers 45 Views
Filter
Scott
Top achievements
Rank 1
Scott asked on 22 Feb 2022, 08:03 PM | edited on 23 Feb 2022, 01:13 PM

Each Filter only loads Once!     After a full page refresh/reload, and a page search and data load to the Grid/dataSource

- then the Grid Filters (smart drop downs) will load after clicking the first time (only) based on grid data values.

However, when the query is changed to load more or less data in the grid with a new "dataSource.read()"

- Then the Filters are never cleared or reloaded, so are no longer "Smart" based on the (new) data in the grid?

Have tried everything online and in forums to clear the filters, nothing works. 

The datasource "filter" method is read (get) only - why is there no "flush" or "clear" or reload method for the filter(s)?

Is there a list indicating whether that filter was already activated (container created) or not, that you could just clear after removing the containers!?   (last 4 lines below)

Scott
Top achievements
Rank 1
commented on 23 Feb 2022, 01:10 PM | edited

Seems like a Bug or a huge design Flaw

-  So when we first click a Filter button, a new "k-animation-container" is created at the bottom of the page for each one.

However, even if you remove that k-animation-container entirely, that just breaks the filter button now.

Is there a list indicating whether that filter was already activated (container created) or not, that you could just clear after removing the containers!?   (last 4 lines above)

 

Anton Mironov
Telerik team
commented on 25 Feb 2022, 01:21 PM

Hi Scott,

Thank you for the details provided.

Feel free to correct me if I misunderstood something. In order to clear all grid filter controls, I would recommend trying the approach from the following forum thread answer:

Give a try at the approach above and let me know if this is the desired result. Furthermore, if additional information or assistance is needed, do not hesitate to contact me and the team.

Looking forward to hearing back from you.

Kind Regards,
Anton Mironov

No answers yet. Maybe you can help?

Tags
Filter
Asked by
Scott
Top achievements
Rank 1
Share this question
or