sCookiePrefix Alternative!

sCookiePrefix Alternative!

JamaurJamaur Posts: 85Questions: 9Answers: 0

I noticed that sCookiePrefix has been removed in Datatables 1.10, are there any alternatives to sCookiePrefix? As I need to save the table state based on the currently logged in user.

Thanks in advance.

Replies

  • JamaurJamaur Posts: 85Questions: 9Answers: 0

    ...

  • JamaurJamaur Posts: 85Questions: 9Answers: 0

    ...

  • sh977218sh977218 Posts: 1Questions: 0Answers: 0

    "statesave": true

  • allanallan Posts: 63,383Questions: 1Answers: 10,449 Site admin

    In 1.10 state saving is done using localStorage so it will automatically be based on the user, since it is local to their browser.

    However, if you want the old style version then you could use saveSaveCallback etc to create your own storage.

    Allan

This discussion has been closed.