I'm using DataTables with the Responsive extension and both work really well. However, I now have a table where I have used class
and data-priority
in order to control which columns are hidden first when screen resolution decreases.
See example: https://jsfiddle.net/L71u3vu7/3/
The example works quite well as long as the first column is visible. If you further decrease the table's width the first column gets hidden as expected. However, with that also the toggle button vanishes.
I'm not quite sure if this is a bug or just the result of placing the toggle button within the first column by default. If it is the latter, the only way to circumvent this would be to reorder the column order, right?
I could also place the toggle button to the right hand side of the table but currently I don't really want to change the position if there's another way.
What are your suggestions?