1.9.0 State saving with multiple tables

1.9.0 State saving with multiple tables

ubrogubrog Posts: 1Questions: 0Answers: 0
edited March 2012 in General
I just tested the new state saving and it works great for one table. However, when I load a separate page with another table, the state for the first table seems to be lost. What is the easiest ways to change that? Using local storage or a cookie callback? Is there an example?

Replies

  • MiiiMMiiiM Posts: 1Questions: 0Answers: 0
    I have the same problem. I have 5 tables on the page, and DT create only two cookies for page.
    if there is some solution?
  • jhartzelljhartzell Posts: 3Questions: 0Answers: 0
    I'm having the same issue and I even started a new discussion on it, if anyone knows the resolution to this please chime in! :(
  • allanallan Posts: 63,532Questions: 1Answers: 10,475 Site admin
    Use localStorage rather than cookies: http://datatables.net/blog/localStorage_for_state_saving . Cookies only allow 4K of storage so sometimes they have to be deleted.

    Allan
This discussion has been closed.