Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
115
Showing empty message after fillter clear
posted

We use an IGX grid with some custom filter functionalities. One of this functions is a mandatory filter before we load the data, using the empty grid message to show this to the user. This works pretty good, except when the filter is used and cleared we can't get the empty filter message to show up again.

I have found that, apperantly, we delete all the rows but the data (checked by grid.gridAPI.get_all_data()) is still there, and as long as those exist, the empty grid message isn't shown. How can we delete this data?

For some insight, I can't reproduce it in a stackblitz envirement, made a small video of the effect + a screenshot of the code I use to delete the rows.

Parents
No Data
Reply
  • 0
    Offline posted

    I see, it sounds like you're having an issue with the empty grid message not showing up after you clear the mandatory filter. The problem seems to be that even though you're deleting the rows, the data is still present in the grid's data source, preventing the empty grid message from being displayed.

Children
No Data