Responsive - Is It Possible To Have Responsive Expand/Collapse Icon In Hidden Column?
Responsive - Is It Possible To Have Responsive Expand/Collapse Icon In Hidden Column?
Joyrex
Posts: 92Questions: 14Answers: 3
I see on the Responsive demos some have a dedicated column, and others the expand/collapse icon is inserted into the first row.
Is it possible to have the icon appear in it's own column that when the responsive mode is not triggered, that column is not visible?
This question has accepted answers - jump to:
This discussion has been closed.
Answers
Ah - I saw this example: https://datatables.net/extensions/responsive/examples/child-rows/column-control.html
And it does exactly what I describe above. Nevermind!
Also, just to give back to the community that's helped me out in the past, here's how you can replace the CSS-generated expand/collapse buttons with FontAwesome:
http://live.datatables.net/tamofama/1/
For clarity, I commented out and not removed the existing items in dataTables.responsive.css so you can see what was added to achieve the FontAwesome integration.
Very cool :-) Thanks for sharing that with us!
Allan