I was looking into the same thing as posted about a year ago about clear/cancel (x symbol) on the right of the global search box to clear all search boxes. Is this in the release 2.9 and if so how is it enabled?
3 Answers
Hi,
To replace the “hamburger” rounded cross icon with X icon, you can search replace following in lib/inc/jqgrid_dist.php file:
<span class="ui-button-icon-primary ui-icon ui-icon-bars fa fa-ban"></span>
with
<span class="ui-button-icon-primary ui-icon ui-icon-close"></span>
Ignore last message, search/replace following in library file (lib/inc/jqgrid_dist.php):
jQuery("#<?php echo $grid_id ?>_filtercancel").uibutton({ icons: { primary: "ui-icon-bars fa fa-ban" },text: false }).click(function ()
with
jQuery("#<?php echo $grid_id ?>_filtercancel").uibutton({ icons: { primary: "ui-icon-close" },text: false }).click(function ()
Your Answer