fnDestroy() doesn't work on Interner Explorer 8

fnDestroy() doesn't work on Interner Explorer 8

chukchuk Posts: 2Questions: 0Answers: 0
edited February 2013 in General
Hi everybody,
I've started using DataTables plugin recently and it is just awesome, but I have came across the issue I can't resolve so far.

In Internet Explorer 8, when I call fnDestroy() on dataTable object or try to reinitialize dataTable object wwith bDestroy option set, it gives me following error:
'oFeatures' is null or not an object jQuery.dataTables.js line 1591
at which point IE hangs. The same code works perfectly fine with FF and Chrome

I'm using jquery 1.8.3 , jquery ui 1.9.2 and datatables 1.9.4

BTW, I've seen similar questions on this forum but none of them has a solution.

Thanks in advance for your help

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    I've just tried it with DataTables 1.9.4 in IE8 and it appears to work just fine for me. Can you link me to a test case showing the problem so we can resolve it please.

    Allan
  • chukchuk Posts: 2Questions: 0Answers: 0
    Hi. So I can't release my code unfortunately (even though there is nothing special about it, just don't want to get fired). I created simple test case and it worked perfectly as you said. I can't recreate the problem, so it must have something to do with my code. I was able to get around it eventually by not letting my table to get initialized with empty aaData (I use AJAX call). I'll let you know if I find out the root cause of the issue.
  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    That would be good - thanks. If there is a problem in the core, I'd certainly like to get it fixed!

    Allan
This discussion has been closed.