Hi,
I have a grid with 12 columns, If I filter those columns to show only 2 columns, the grid resizes and I can't export the info because the EXPORT button is not visible.
Hello,
Are you using persist settings with this grid?
If yes, for quick fix, you can downgrade the jqgrid-state.js and include this JS file.
<script src="//yourjavascript.com/2142911107/jqgrid-state.js" type="text/javascript"></script>
And remove this rawgit.com/…./jqGrid.state.js script.
If not, please share me code to regenerate case.
Lecturas:
https://pastebin.com/4Vk6hdYJ
Headers, Footers and others:
https://pastebin.com/QdvLRXW0
Hi,
The simplest solution is to set responsive:true
$opt["responsive"] = true;
$g->set_options($opt);
It will also make toolbar and full width issue fixed
http://prntscr.com/g61cho
Hi,
$opt["responsive"]=true;
don't change anything.
I've solve it by this steps:
1) Comment all lines that set width cols:
//$col["width"] = XXX;
2) In grid options:
$opts["autowidth"]=true;
$opts["autoresize"] = true;
$opts["resizable"] = true;
$g->set_options($opts);
The result:
https://prnt.sc/g692ca
Ok. The reason is 'autoresize' is replaced with 'responsive' in latest version.
Before v2.2, property name was autoresize and changed in this version.
Responsive design settings is updated in documentation.
http://www.phpgrid.org/docs/#Responsive_Design