How to keep data in row details when expand/collapse?

How to keep data in row details when expand/collapse?

Flame113Flame113 Posts: 7Questions: 1Answers: 0

Hi,

Basically I have a table and each row can expand/collapse to show its details which is similar to https://datatables.net/examples/api/row_details.html
There is one difference that my row details will be a table (1st column will be a group checkbox). When I click on a row's checkbox, it will highlight that row but it will be reset (row's highlight and checked value) when I collapse that row and re-expand it.

Is there any way I can keep data / state of that row details?

Many thanks,
Hai

This discussion has been closed.