Hi,
I’ve seen that there is an option to reset the multi-filters, but I’m trying to do it with a normal filter and I can’t manage to. Could you help me?
Please explain a bit more what youean by multi-filtet and normal filter. Any screenshot and code will help in understanding.
Hello
here you can see a normal filter and a multi select filter, and the code. It only works with multiselect
Hello,
Demo: https://www.gridphp.com/demo/demos/integrations/multiselect-filter.php
Code: https://www.gridphp.com/demo/demos/integrations/multiselect-filter.phps
The button on the button invokes JS code that reset ‘notes’ multiselect filter.
Hello Abu
yes I have this code, but this only resets multiselect filter but not the input filter. I need to restart this filter too.
In the callback, use following.
// reset multi-select search field named 'note'
$("#gs_note").multiselect('refresh',true);
// reset single search fields
jQuery("#list1").trigger("clearToolbar");

