selecting child rows
selecting child rows
mcnellagejb
Posts: 2Questions: 1Answers: 0
I saw that some people tried to select child rows, but I was wondering if there is a way to adjust the current selection method for select rows on the table to also only allow the user to select one child row. In other words, the user can only select one row at a time including child rows.
This discussion has been closed.
Answers
You can use this on each table including the child table:
https://datatables.net/reference/api/select.style()
Any code used to select child rows is a hack, and you'd need to modify it to be able to select only one child row at a time. Child row selection is not something that the Select extension currently supports.
Allan
Thanks it does seem impossible so I will try and figure out a new method. Is there a way to select the parent rows, but not the child rows?
Yes, the Select extension does that.
Allan