Add new row with Child row
Add new row with Child row
ericlat
Posts: 14Questions: 2Answers: 0
I am trying to add a new row that has a child row attached. Here is a link to an example:
http://live.datatables.net/foluzika/11/
When you click on the expand column you can see in the console that the 'format' function returns the markup for the child row; however the row is not expanding. Am I going down the wrong path adding the details and trigger binding in the column def?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
actually this seems to work if I add more than one row, but not a single row?
I believe i may have found the solution. If there is a more correct way to do this please advise. http://live.datatables.net/foluzika/12/
i think i see your problem. But unfortunately i gotta go so look here
where im getting nRow for child manipulation.
and here is event for show/hide via click
Thank you for your help. That did it.
Thank you very much for your help. With this I was able to create this final solution: