How to select multiple rows from multiple pages in datatables

How to select multiple rows from multiple pages in datatables

shobhanshobhan Posts: 1Questions: 1Answers: 0

I am using the following code,but I am getting only the current page selected rows from datatables ,how can we get all selected rows across all the pages

var table = $('#example1').DataTable();
tablevalues=(table.rows('.selected').data());

This discussion has been closed.