Issues with bDestroy on 1.7 beta 7
Issues with bDestroy on 1.7 beta 7
modernclix
Posts: 10Questions: 0Answers: 0
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.
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.
This discussion has been closed.
Replies
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
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.
Regards,
Allan