With Buttons - Column visibility button highlighting bug

With Buttons - Column visibility button highlighting bug

mtbmtbmtbmtb Posts: 3Questions: 1Answers: 0
edited March 2016 in Free community support

Hi,
It looks like the css classes may be broken.
When you reduce the browser size so some columns are hidden, refresh the page, all columns in the button get the active class even though they are hidden.
The column name highlighting works fine after clicking on them but the initial state should not be active for the ones which are hidden
Could you please fix this
Thanks

https://datatables.net/extensions/responsive/examples/column-control/column-visibility.html

Answers

  • allanallan Posts: 63,783Questions: 1Answers: 10,511 Site admin

    The responsive column visibility is not the same as the DataTables column visibility (at least as of Responsive v2). For example, expand a row in a table which has the "E-mail" column collapsed. Click a row to show the child row and note that the "E-mail" data is there for that row. Then use the column visibility control to hide the "E-mail" column and note that it is removed from the child row.

    The Responsive column hiding and DataTables column visibility are orthogonal.

    Allan

  • mtbmtbmtbmtb Posts: 3Questions: 1Answers: 0

    Hi Allan,

    Thanks for the response,
    What's the best way to get the old functionality back, do I have to use the retired library?

  • allanallan Posts: 63,783Questions: 1Answers: 10,511 Site admin

    Yes - you'd need to use Responsive 1.x if you want the old style behaviour.

    Allan

This discussion has been closed.