Backbone single page application seems to break row expansion.

Backbone single page application seems to break row expansion.

el_diablo_roboticoel_diablo_robotico Posts: 3Questions: 0Answers: 0
edited November 2012 in General
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/

Replies

  • el_diablo_roboticoel_diablo_robotico Posts: 3Questions: 0Answers: 0
    Bump! Still no luck fixing this. Any suggestions?
  • palmern22palmern22 Posts: 3Questions: 0Answers: 0
    I ran into this issue as well, any luck on fixing this?
  • palmern22palmern22 Posts: 3Questions: 0Answers: 0
    Hi el_diablo_robotico,

    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
This discussion has been closed.