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.KSteven.K Posts: 2Questions: 0Answers: 0
edited June 2016 in Free community support

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.

Replies

This discussion has been closed.