bStateSave is not working for more than 30 columns in datatable

bStateSave is not working for more than 30 columns in datatable

narasimhanarasimha Posts: 1Questions: 0Answers: 0
edited November 2013 in DataTables 1.9
I am usiing DataTable 1.9.4 version. bStateSave is working upto 30 columns in table without any problem(Cookie is also set and it is showing the latest looked page).When table columns are more than 30 the cookie is not set . Please help me out to increase columns length for bStateSave.

Thanks in advance.

Replies

  • allanallan Posts: 63,381Questions: 1Answers: 10,449 Site admin
    Cookies have a size limit of 4KiB. This will be exceeding that value.

    You need to use an alternative method such as localStorage (which will be the default in 1.10): http://datatables.net/blog/localStorage_for_state_saving

    Allan
This discussion has been closed.