IE7 and cachable instance?

IE7 and cachable instance?

matopicusmatopicus Posts: 3Questions: 0Answers: 0
edited June 2012 in DataTables 1.9
When instantiating data tables using the following
[code] var oTable = $('#registryTable').dataTable({}); [/code]
IE7 seems to choke for me for some reason, everything works fine with just calling it as so,
[code]$('#registryTable').dataTable({});[/code]
in the document ready function. but then when adding buttons for the search (search and reset) i can't seem to reference the data tables object. Has anybody else experienced this or is this something that i'm doing specifically? I did not include my actual init of data tables in this post as its 140 lines long.

Replies

  • allanallan Posts: 63,397Questions: 1Answers: 10,451 Site admin
    Can you give us a link to the page please? That should work no problem in IE7.

    Allan
  • matopicusmatopicus Posts: 3Questions: 0Answers: 0
    i can't provide a link since everything here is behind a firewall and we're pretty locked down. Here's the code init and i can send it to you in an email if that would help, just don't know how this is going to come out via the forums... i take that back it doesn't support that much text.

    is there a way to attach a file to this forum? I ran the debugger if that helps. http://debug.datatables.net/eyuwah
  • allanallan Posts: 63,397Questions: 1Answers: 10,451 Site admin
    You could try the live site: http://live.datatables.net/isesaw/edit#javascript,html . Its not a problem I've seen in IE7 before I'm afraid. You could try updating to 1.9.1 and see if that helps at all...

    Allan
  • matopicusmatopicus Posts: 3Questions: 0Answers: 0
    Yeah that didn't help, but i did notice that my issues are in the fnDrawCallback function, seems that the initial developer got a little happy in there. Thanks for the reply and script Allan, love it!
This discussion has been closed.