Save State: Uncaught TypeError: Cannot read property 'column' of undefined

Save State: Uncaught TypeError: Cannot read property 'column' of undefined

picktracepicktrace Posts: 12Questions: 5Answers: 0

When I enable
stateSave: true,
sometimes when I re-visit the page the table fails to load and in the javascript console I see the following error:
Uncaught TypeError: Cannot read property 'column' of undefined datatables.min.js:529

I found this seems to be caused by the inline-editor. If I visit the page with this table and then go to a different page then back, it works just fine. However, if I select a field as though to inline-edit it, then unfocus/blur the field; then refresh the page I receive that error.

When using the debug.datatables.net all versions are "Up-to-date" except:
Editor 1.5.2 A new version (1.5.3) is available.
What's also interesting is that it says: ColVis Not installed however I'm using ColVis and it is working correctly on this page. I'm assuming that this is referring to the old ColVis plugin. I'm using DataTables 1.10.10 Up-to-date right now.

Any help would be appreciated!

Answers

  • allanallan Posts: 61,893Questions: 1Answers: 10,145 Site admin

    Hi,

    Can you link to a page showing the issue so I can debug it please?

    What's also interesting is that it says: ColVis Not installed however I'm using ColVis and it is working correctly on this page.

    You are probably using Button's column visibility buttons rather than the legacy ColVis extension.

    Thanks,
    Allan

  • picktracepicktrace Posts: 12Questions: 5Answers: 0

    I've sent you a PM with a link to the URL, thank you!

This discussion has been closed.