Automatic collapse of a line when clicking on another line
Automatic collapse of a line when clicking on another line
ostmal
Posts: 102Questions: 33Answers: 0
in Responsive
Good afternoon, happy Friday! I'm sorry for the trouble!
I studied "responsive"last night:
https://datatables.net/extensions/responsive/
Including studied all the examples:
https://datatables.net/extensions/responsive/examples/
I haven't found anywhere how to make it so that when a line (the disclosure symbol) is clicked, another line collapses.
Answers
I don't believe you can do it in the API with Responsive children - this example here shows how to do it with standard child rows. You may be able to try something similar, perhaps listening for
responsive-display
. Sorry to be vague, just not tried that before!Colin
Thank you. I'll try it later, maybe something will work out.