savestatecallback
savestatecallback

i am now using json object as my datasource for my tables (for speed), whereas until recently, i was using a simple mysql recordset in the dom.
This make the statesave option, (for me at least) a bit more difficult.
I have looked at the stateSaveCallback and stateLoadCallback examples, on the site, but can;t work out what form my ajax page should take.
Is there an example of the ajax page used as a statesave i could use to help me along ?
This question has an accepted answers - jump to answer
Answers
Anyone ?
I'm not clear on why using object based data would really effect state saving at all. Could you explain that please? All you should need to do is add
stateSave: true
and it will work regardless of DOM, array or object sourced data.Allan
must have been doing something wrong before, because it works now, as you said !!