filtered rows selection without tableTools
filtered rows selection without tableTools
 bgeneto            
            
                Posts: 8Questions: 1Answers: 0
bgeneto            
            
                Posts: 8Questions: 1Answers: 0            
            Now that tableTools is gone/retired I would like to know how to properly use the Select and Buttons extensions to create two buttons: one for selecting all filtered rows and the other to deselect all filtered rows. With tableTools I could simply code like this:
aButtons: [
    {
        sExtends: "text",
        sButtonText: "Select all",
        fnClick: function ( nButton, oConfig, oFlash ) {
            this.fnSelectAll(true); // select only filtered rows
        }
    },
    {
        sExtends: "text",
        sButtonText: "Select none",
        fnClick: function ( nButton, oConfig, oFlash ) {
            this.fnSelectNone(true); // deselect only filtered rows
        }
    }
]
I'm using DataTables in server-side processing mode.
This discussion has been closed.