Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35358

Datatable server side how to get all data in a specific coloumn across pages?

$
0
0

I want get all the ids in my check box coloumn when I click on. I've managed to get the total data row count, but I couldnt find a way to fetch all data of that coloumn with all pages. I'm using serverside processing

Below is my code

$(".check-all input[type=checkbox]").change(function() {

        if($(this).is(":checked")) {
            console.log(thisTable.page.info().recordsTotal);
            $('#userTable_info').append(' <a href="">Select all ' + thisTable.page.info().recordsTotal+'</a>');
            //this return only current page ??
            var data =  thisTable.search('').column(0).data();
            console.log(data);
        } 
    });

Viewing all articles
Browse latest Browse all 35358

Trending Articles