with jqwidgets 2.9 if you are implementing server-side paging, sorting and filtering AND have autoloadstate (and autosavestate) set to true you will get an error saying:
SyntaxError: Unexpected Token <
This error is repeatable in the demos, just add autoloadstate and autosavestate to the server-side-paging demo. You should also set columnsresize and columnsreorder to true. Load the grid, change the size of one of the columns then refresh the page….
There is an extra call to the php function used to load the grids data and there are no parameters sent with it (except the jQuery "_" parameter used for getting around IE caching, IF cache: false), so naturally an error occurs because pagenum and pagesize are not set. You can workaround this by checking for isset(pagenum) in your php….but im curious as to why the extra call to the php since the autoloadstate methods use Local Storage? We are limited to 2 simultaneous ajax calls at one time and each takes 1-2 seconds, having an extra call for each grid can really slow things down in a large application….