Feature request: hidden columns in collapsible 'child-row'

Feature request: hidden columns in collapsible 'child-row'

chimoschimos Posts: 6Questions: 2Answers: 0
edited October 2016 in Free community support

I think it would be good to be able to show the hidden columns in a collapsible 'child-row' (like Responsive extension already does).
For example, one table using Buttons' column visibility module, i.e. allowing the user hiding columns, could keep those hidden as a child-row that could be toggled with a control button.

Does it make sense?

Replies

  • allanallan Posts: 63,818Questions: 1Answers: 10,517 Site admin

    Thanks for the suggestion!

    This is not something I'm likely to build into the core (unless it receives a lot of other feature requests for it), as it can be done relatively easily via the API. Use table.cells( row, ':hidden' ).data() to get the data for the hidden cells for a row, and that can be placed into the child row.

    Regards,
    Allan

  • chimoschimos Posts: 6Questions: 2Answers: 0

    Thank you! This tip will help a lot =)

This discussion has been closed.