bDestroy and sort bug
bDestroy and sort bug
Aldri
Posts: 2Questions: 0Answers: 0
Hello,
when i set the option "bDestroy": true and call my function to recreate the datatable, it works perfectly except that when i sort a column (by clicking on the column header) it will call my server side script twice
If i recreate the datatable 5 times, sorting will call my script 5 times, and so on...
I don't know if it is a server side + bDestroy bug, or just a bDestroy bug but I think there is an handler that should be removed somewhere when you recreate the table (or at least not added again)
when i set the option "bDestroy": true and call my function to recreate the datatable, it works perfectly except that when i sort a column (by clicking on the column header) it will call my server side script twice
If i recreate the datatable 5 times, sorting will call my script 5 times, and so on...
I don't know if it is a server side + bDestroy bug, or just a bDestroy bug but I think there is an handler that should be removed somewhere when you recreate the table (or at least not added again)
This discussion has been closed.
Replies
Allan
Have you figured this out lately? What handler should be unplugged?
**Update:** I must tell though that any sort or filter action does not trigger the previous stackup.