There seem has a bug at the destroy() function of dataTables.buttons.js , version 1.2.0
There seem has a bug at the destroy() function of dataTables.buttons.js , version 1.2.0
Steven.K
Posts: 2Questions: 0Answers: 0
There may be a bug at code line 198 of dataTables.buttons.js , version 1.10.12 :
for (i = 0, ien = buttons.length ; i < ien ; i++) {
this.remove( buttons[i].node );
}
After button[i].node is removed, buttons size reduced. Eventually, the button[i] will out of index.
I modify buttons[i] to buttons[0] , works well.
This discussion has been closed.
Replies
This was fixed with the Buttons 1.2.1 release. It is available already.
Allan
I got it ! Thanks a lot ~