Is there a way to refresh datasource when the user is closing a filter

I am using the built in filter of cuba. I am trying to refresh the datasource when the user is closing the filter with the x button. Like somebody is creating a filter apply some info, removing the filter goes to have a cup of coffee and returns and start working with the data, but forgat to reload it, so he will only see the filtered data.

Is there a solution?


Do you mean condition removal? If so then the current filter implementation doesn’t provide an ability to handle conditions removal events.