Datatable Keytable throws an error if cell is unavailable.
Datatable Keytable throws an error if cell is unavailable.
ashwinrajg
Posts: 2Questions: 1Answers: 1
Hi, I am using Datatable with Keytable in a dynamic page.
Given: I am in a dynamic page choosing a cell which is stored in local storage.
When: When I am loading different content on the datatable and the previously selected cell(position) is unavailable.
Then: I am getting an error in "Uncaught TypeError: Cannot read property 'column' of undefined" at KeyTable._focus
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Resolved:
If you are using KeyTable along with statesave, you have to modify the storage key specific to each dynamic page. Thereby resolving the issue.
Also, using sessionStorage is preferable.