Hello,
I store object string in a table to save multiple jqxGrid states (through JSON.stringify), then when I try to import it in loadstate method (through JSON.parse) it crashes.
I have narrowed the problem to the object format, object with all values between quotes (int_key:”600″, float_key:”10.33″, bool_key:”false”) will crash the method during (_calculatevirtualheight@[…]/__js/bower_components/jqwidgets/jqwidgets/jqxgrid.js:8:27814) process, while object without quotes on numerical/float and bool values will be parsed correctly.
Object { width: "100%", height: "600", pagenum: "0", pagesize: "10", … } : will crash
Object { width: "100%", height: 600, pagenum: 0, pagesize: 10, … } : will succeed
Any idea on wether A) update method to accept any type of value in object or B) know a method that will return an object with correct datatypes instead of JSON.parse ?