Backbone single page application seems to break row expansion.
Backbone single page application seems to break row expansion.
el_diablo_robotico
Posts: 3Questions: 0Answers: 0
Hi All,
I've encountered an issue using Datatables in a backbone application. Basically what is happening is if I navigate directly to the data tables page once everything works fine. However, if I click out of the view rendering the table and then navigate back in (without a full page refresh...using the Backbone routing mechanism) I get the error when attempting to expand a row for additional details.
Uncaught TypeError: Cannot read property 'aoOpenRows' of null
in the chrome debugger.
Here is a link demonstrating this behavior.
http://jsfiddle.net/zundra/mrLx4/2/
I've encountered an issue using Datatables in a backbone application. Basically what is happening is if I navigate directly to the data tables page once everything works fine. However, if I click out of the view rendering the table and then navigate back in (without a full page refresh...using the Backbone routing mechanism) I get the error when attempting to expand a row for additional details.
Uncaught TypeError: Cannot read property 'aoOpenRows' of null
in the chrome debugger.
Here is a link demonstrating this behavior.
http://jsfiddle.net/zundra/mrLx4/2/
This discussion has been closed.
Replies
See this article it fixed my problem.
http://datatables.net/forums/discussion/12324/typeerror-osettings-is-null-in-var-osettings-_fnsettingsfromnode-thisdatatable.ext.iapiindex/p1