Selected rows with deferred loading

Selected rows with deferred loading

JSmith1611JSmith1611 Posts: 1Questions: 1Answers: 0
edited December 2019 in Free community support

Hello, I'm wondering if there is a way to get all selected rows in a table programmatically when using deferred loading? I can get filtered data like this:

table.rows({ filter: 'applied' }).data().toArray()

But I don't see a way to do the same thing but get selected rows. My client wants to be able to select rows and run some updates to a database while also updating the row data for each selected row. The problem is I can't get the selected rows with deferred loading on. What is the solution?

Answers

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.