I have a Datatable and want to show extra information in child. I use the same code as here: https://datatables.net/examples/api/row_details.html
But on first click on first column the child is not shown. The source code before clicking:
<tr></tr>
after first click the arrow shows downwards and sourcecode looks like this:
<tr class="dtr-expanded"></tr>
after second click the child is shown (arrow shows to the right) and code looks like this:
<tr class="dt-hasChild selected"></tr>
If I debug the code in js “row.child.isShown()” returns false on first click.
Maybe there is a problem with the select-column?
Additional information: if I don’t handle the click method on ‘td.dt-control’ and let datatables do the work: it works fine, but I want to show different information so I have to make use of this functionality.
thx in advance
©a-x-i
4