Get Selected rows over all pages

Get Selected rows over all pages

zen8019zen8019 Posts: 2Questions: 1Answers: 0

I am using
tbl.rows({ selected: true }).data()
to get an array/collection of 'selected rows' so I can build a string of id's to pass to my MVC controller (via ajax....to do stuff with). All is ok except the
tbl.rows({ selected: true }).data()
only brings back the selected rows on the current page - I need all selected rows over several pages - can anyone please advise- many thanks.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin
    Answer ✓

    Are you using server-side processing? If so, then that behaviour is expected since only rows are the client-side "exist" to be able to be selected at the client-side.

    If you are using client-side processing, I would need a link to a test page showing the issue.

    Thanks,
    Allan

  • zen8019zen8019 Posts: 2Questions: 1Answers: 0

    Yes I am using server-side processing - so this behavior is expected then - thanks

This discussion has been closed.