Datatables - Whole row child row control - Doesn't work
Datatables - Whole row child row control - Doesn't work
Explox
Posts: 4Questions: 1Answers: 0
Hi,
Since a couple of days, I'm trying to implement the "Whole row child row control" feature available at the :
https://datatables.net/extensions/responsive/examples/child-rows/whole-row-control.html
but I can't make it work. I trying like 50 times with differents ways but never worked. Do you have a template or anything that could help me please ?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
The example you link to shows how it can be done. If that isn't working for you, we would need a link to a page showing the error you are facing so we can offer some help (per the forum rules, and as I requested in the github issue).
Allan
I tried with this link : http://jsfiddle.net/D9Z9M/
It "seems" to work but, if I try on my own, with a html file : http://pastebin.com/nAi97K18
never worked.
I tried multiple ways to do it but it doesn't want to work. No errors in the js console.
Result : http://imgur.com/a/FkEPx
Thanks
Sorry - we need a link to a page showing the issue so it can be debugged. Apologies if I wasn't clear on that enough when I said it before. (edit typo)
Allan
Like I said, I have no errors and the code was in the pastebin link, but anyway.
http://explox.comli.com/datatable.html
I uploaded the content to a website where you can see the issue.
Hope that's what you wanted.
Thanks
Thanks for the link.
However, I'm not seeing the problem I'm afraid. If the window is small enough that Responsive hides columns, then if I click anywhere in the row the child row details with the hidden column information is shown.
Is that not working for you? What browser are you using?
Allan
I tried like you said by reducing the window size and it seems to work, but is there a solution about the fact that I need to reduce the size of the table to make it work ?
Can I force the table to display the last column in the child row even with a big window (or div) ?
Sure - see the documentation here.
Allan