Row selection - select all - server side

Row selection - select all - server side

rrojas2018rrojas2018 Posts: 8Questions: 3Answers: 0

Sorry for my english, please can you help me with any documentation or examples about how Can I select all rows from table in that use server side processing, currently I use the next code for select one by one,and it works fine

$('#detalle tbody').on('click', 'tr', function () {
$(this).toggleClass('selected');
var varia = table.cells('.selected', 0).data().toArray()
$('#seleccionadas').val(varia);
});

Answers

  • allanallan Posts: 63,482Questions: 1Answers: 10,467 Site admin

    There is no option to select all rows when using server-side processing. The row selection is at the client-side, but the data is at the server-side, so the client-side can't select rows it doesn't know anything about!

    Allan

This discussion has been closed.