enable_search always toggled on
Can I have the enablesearch always toggled in on? By default it is off and you have to click the icon to get the search boxes in the header. I'd like to have the enablesearch on by default.
-
Jordi commented
Dear Richard,
I'm trying to enable toggle search by default,
but I don't know which element is #YOUR_TABLE in my php?
Where I can find it?Thanks in advance!
-
AdminRichard (Admin, phpGrid) commented
-
Tomi Ruusala commented
It can be achieved with JS.
<script type="text/javascript">
$(function() {
var grid = jQuery("#YOUR_TABLE");
grid[0].toggleToolbar();
});
</script> -
lars.boge commented
Yep - that's what we want !
Alternatively, let us have the possibility to switch it on programmatically....