Responsive - Child rows with StateSave

Responsive - Child rows with StateSave

dc_picodc_pico Posts: 2Questions: 1Answers: 0

Hello,

I am using Datatables with the Responsive extension. From the example and JS and CSS from this page: https://gyrocode.com/articles/jquery-datatables-how-to-expand-collapse-all-child-rows/#responsive, I'm mainly utilizing class="none" to put specific information in the child.

I'd like to save the states of the expanded child row on refresh. I can see that example here without Responsive: https://www.datatables.net/examples/api/row_details_stateSave.html

How do I get StateSave working in a table with Responsive class="none" child objects?

Here's rough example of what I'm working with: http://live.datatables.net/jopihiba/1/edit

Thanks in advance!

Answers

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin

    There isn't an option for that at the moment I'm afraid. We'll need to make a change into Responsive to listen for the new requestChild event for that to work. I've added it to our list.

    Allan

  • dc_picodc_pico Posts: 2Questions: 1Answers: 0

    Hi Allan,

    Thanks for adding it to the list!

Sign In or Register to comment.