savestatecallback

savestatecallback

crush123crush123 Posts: 417Questions: 126Answers: 18

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

  • crush123crush123 Posts: 417Questions: 126Answers: 18

    Anyone ?

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Answer ✓

    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

  • crush123crush123 Posts: 417Questions: 126Answers: 18

    must have been doing something wrong before, because it works now, as you said !!

This discussion has been closed.