Using stateSave option in datatable affects the loading performance of datatable?

Using stateSave option in datatable affects the loading performance of datatable?

macncheesemacncheese Posts: 1Questions: 1Answers: 0

I am using fnStateSave and fnStateLoad option in datatable. This datatable is specifically used to edit and update the cell values with having n number of other features( sorting, column searching and paging). So, using all feature its taking little more time to load a page if records are in thousands. Does saving state affects the loading performance of datatable? I don't need saving state of datatable's data, if it really affects the loading speed. Please suggest that removing stateSave will help in performance or not?

Answers

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    stateSave won't affect the loading at all. It doesn't store the table's contents, only the ordering, filtering and pagination state.

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.