jsf 2 - Clear <p:selectCheckboxMenu filter="true"> from client side -
i'm using primefaces 5 <p:selectcheckboxmenu filter="true">
, need reset filter client side. there way this?
sharing solution community:
the idea set empty string filter input, , fire 'keyup' event
function resetfiltering(filterselector) { $(filterselector).val('').trigger('keyup'); };
could called following selector:
resetfiltering('.ui-selectcheckboxmenu-header .ui-selectcheckboxmenu-filter-container input');
Comments
Post a Comment