Issues with bDestroy on 1.7 beta 7

Issues with bDestroy on 1.7 beta 7

modernclixmodernclix Posts: 10Questions: 0Answers: 0
edited July 2010 in General
Hello everyone, I hope someone can help me on this:

I had to switch to the last beta version because some issues with IE. What I have is a data tables with server side processing. In some cases I need to rebuild the table because, for example, I delete a record from it, but with this new version when the table attemps to be reloaded I get this error:

E[a] is undefined

I'm using the minimized script, but I will post part of the 126 line where the error happens:

[code]if(E[a].sTableId!==""&&E[a].sTableId==this.getAttribute("id"))[/code]

And this is my datatables call:

[code]
$('#tablesorter').dataTable(
{
"bProcessing": true,
"bDestroy": true,
"bServerSide": true,
"sAjaxSource": url+'?'+params,
"sPaginationType": "full_numbers",
"bJQueryUI": true,
"iDisplayLength":$("#table_sorter_length").val(),
"aoColumns": columns,
"aaSorting": sorting
});
[/code]

The bDestroy was working perfectly in previous versions, but now it seems there's an issue here, or is it just me that am I using it wrong. Any help will be much appreciated.

Replies

  • modernclixmodernclix Posts: 10Questions: 0Answers: 0
    Note: I just tested it on 1.7 beta 5 and I don't have this issue, but I have the old IE8 bug. Error: invalid argument Line 49. So maybe this new bug is related to the fix of that one.
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Hi modernclix,

    Good call - I inadvertently introduced this bug in 1.7 beta 6. I've just released beta 8 which addresses this and one or two other small issues: http://datatables.net/forums/comments.php?DiscussionID=2412

    Thanks for pointing this out!

    Allan
  • modernclixmodernclix Posts: 10Questions: 0Answers: 0
    Great, thanks for the quick reply. I hope it works with IE 8 as well, I'll test later.

    P.S.: I can't show my application right now because it isn't finished, but it almost entirely depends on this 'plugin'. Thanks for making this great application, donations coming soon.
  • modernclixmodernclix Posts: 10Questions: 0Answers: 0
    Working flawlessly, thank you very much!!
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Awesome - thanks for the feedback :-)

    Regards,
    Allan
This discussion has been closed.