Bad version of DataTable

Bad version of DataTable

pouki06pouki06 Posts: 3Questions: 0Answers: 0
edited July 2012 in General
Hi everybody,

I've just downloaded v1.9.2 DataTables, and I wish to preserve state with localstorage.

It didn't work, when I try to debug my table (with your bookmarklet http://debug.datatables.net/epahib), I can see my version is 1.8.2 and I read I needed the last version to override state functions to the localstorage instead of cookies...

Can you help me ?

Thanks in advance...

Replies

  • allanallan Posts: 63,541Questions: 1Answers: 10,476 Site admin
    The state saving API has changed in 1.9 to vastly improve it. Please refer to this blog post for details: http://datatables.net/blog/localStorage_for_state_saving .

    Allan
  • pouki06pouki06 Posts: 3Questions: 0Answers: 0
    Yes I saw that, but even if I click on the link to download the latest version, The debug told me I have the version 1.8... Where can I download the "Real" 1.9.2 version please ?
  • allanallan Posts: 63,541Questions: 1Answers: 10,476 Site admin
    The downloads page: http://datatables.net/download :-)
  • pouki06pouki06 Posts: 3Questions: 0Answers: 0
    Ok, excuse me if i'm not clear,

    I follow these steps :

    1) I download the latest version from the download page (the version 1.9.2)

    2) I initialize my dataTable with some parameters

    3) I run the debug bookmarklet

    4) I can read in the report (http://debug.datatables.net/epahib) that I have NOT the latest version...

    Edit : Problem solved, I used the minified version until now, and I was wrong... With the dev version, everything's good !

    Thanks.
    Brice.
This discussion has been closed.