Hi guys,
Because pagination only renders a part of the table at a time, the selected_rows attribute only gives back the selected rows of that page (and not the full datatable).
This implementation makes sense, but it’s also kind of a pain. I’m a bit surprised it doesn’t use the virtual derived attribute for this.
At the moment, I’m writing a work around, by storing all selected rows in a separate table, then writing/rewriting to the selected_rows attribute each time. I’ll post some code when I’m done.
But for the moment, I was wondering if anyone else has finished their own solution?
Best regards,
Nick