"oSettings is Null" with Show/Hide Details code

"oSettings is Null" with Show/Hide Details code

mgalemgale Posts: 11Questions: 1Answers: 0
edited March 2010 in General
Hi,

I've gotten DataTables to run fine (it's a GREAT service you've provided by writing this code and making it available!). However, when I tried to implement the API to show/hide row details, I got an error (Firebug) that I can't figure out:

oSettings is null
in jquery.dataTables.min.js, Line 473

The actual code for line 473 is:
[code]var iLen=oSettings.aoData.length;for(var i=0;i

Replies

  • allanallan Posts: 63,175Questions: 1Answers: 10,409 Site admin
    Hi Marie,

    Any chance you can post a link to a page showing the issue? Failing that, then a copy of your initialisation code? If it's a straight copy and paste of my demo - it should work okay (although it does relate specifically to a five column table - but I don't think that would cause the error you are seeing).

    Regards,
    Allan
  • mgalemgale Posts: 11Questions: 1Answers: 0
    Hi Allen,

    Well, heck. I took the code out so I could work with some other things, and when I put it back in this morning so I could send it to you, I can't duplicate the error ... now I get a different problem ... the details column is not added.

    The code is too long to include as a comment. Do you have an email address or contact form I can use to send you the page and a log-in information?

    Marie
This discussion has been closed.