Data Grid 2 - Clear Search Filters (Data Controls)

0
I am using the data grid 2 widget to display data, and using the “data controls” widgets as search filters. There is no “clear” button provided for this widgets, and I haven’t been able to get a custom implementation to work. I have tried using javascript to clear all input fields on the page, as well as using the “saved attribute” field of the search filters and clearing those via microflow. The javascript solution clears the boxes, but does not actually reset the search until the field is typed in. Clearing the ‘saved attribute’ does clear the saved value in the entity, but that doesn’t seem to reflect in the UI and the search does not reset as well.   Does anyone have a working workaround for a “clear filters” button?
asked
2 answers
0

Hi Andrew,

 

How about this:

https://forum.mendix.com/link/space/widgets/questions/122826

 

 

answered
-1

Hi Andrew,

Refer the below link for Clearing the Search Filters in Datagrid 2

https://forum.mendix.com/link/space/widgets/ideas/2357

 

Hope it helps!!!

answered