saveState is not Saving Pagination Location

saveState is not Saving Pagination Location

dwmosmandwmosman Posts: 4Questions: 2Answers: 0

I'm using Datatables 1.10 with YADCF and stateSave is not saving the pagination location. When I leave the webpage and come back I am back at the start of the first page instead of returning to the page that I was on when I left. I know stateSave is working because the filters are being saved but not pagination location.

This appears to be due to a conflict with another Javascript library on the page, "SpryValidationTextField.js". If I comment out this library, then the webpage will maintain the correct page location.

Unfortunately I cannot just delete the offending library (corporate standards), so I am hoping that someone can help me to resolve this and get my pagination working.

Here is an example page. Open the webpage and select page 3. Leave the website and return and you will be back at page 1.

http://nwhealth.edu:8090/stateSaveTest/stateSaveFail.html
( debug code - iyozup)

Here is the identical page but with the offending library commented out. Now if you select page 3 and leave, you will be back on page 3 when you return.

http://nwhealth.edu:8090/stateSaveTest/stateSaveWork.html
( debug code - ebopos)

This discussion has been closed.