How to configure responsive.detail
How to configure responsive.detail
k4rl85
Posts: 6Questions: 1Answers: 0
Hello, I'm just trying to use select and responsive plugins together.
I have the same problem found in this discussion:
https://www.datatables.net/forums/discussion/32345/incorrrect-select-checkbox-visualisation-if-in-the-first-column-of-a-responsive-table
I have tried the suggested solution by adding a column specifically for responsive button but the icon is not showing up.
This is the fiddle
http://live.datatables.net/woniqiyu/3/edit
Thx for any help
This discussion has been closed.
Answers
That fiddle doesn't show you using the suggested solution, all that code is doing is targeting the first column so that when you click anywhere on a cell in the first column, it will show the child row.
You need to use the Javascript code in the example, then add an extra <td> element to each row in your table so it targets that instead of the column with the actual content in.
I have made a new fiddle with select and responsive:
http://live.datatables.net/pejewici/3/edit
I would like have a hidden first column showed only if needed with inside the responsive icon but i haven't find a solution
I have found the problem, the class
control
are not correctly set in my fiddle, the fixed version is here:http://live.datatables.net/pejewici/6/edit