The persist demo is not working on my server.
I have updated the script as follows:
<script src="//yourjavascript.com/2142911107/jqgrid-state.js" type="text/javascript"></script>
….. but still doesn't work.
Check the following:
1) Place stateOptions script code above 'echo $out'
2) Check if all JS files are loaded. See debug console F12 for possible 404 file errors.
yourjavascript.com is blocked as dangerous by my security software (Heimdal).
rob.hindle@gmail.comWhether that site is risky or not it underlines an issue with relying on links to fetch critical files other hosts (other than the well known CDNs like Google’s) so get a copy of jqgrid-state.js and store on your own host.
Yes, we have moved to other cdn. Fow now use this:
<script src=”//cdn.jsdelivr.net/jstorage/0.1/jstorage.min.js” type=”text/javascript”></script>
<script src=”//cdn.jsdelivr.net/json2/0.1/json2.min.js” type=”text/javascript”></script>
<script src=”//cdn.jsdelivr.net/gh/gridphp/jqGridState@10b365046ebd687914855e807eb5f769277317d5/jqGrid.state.js” type=”text/javascript”></script>
Demo Code:
https://gist.github.com/gridphp/3cd2da000ab152e935d2d6b1d6c2df0e