This project is not covered by Drupal’s security advisory policy.

Provides a new template type of collapsible_table that enables the collapsing of a column in the table.

How to use

This module expands the original table template type. In addition to all of the additional values passed to creating a table, there is an additional #collapsible_row value available. When set to TRUE, a click on the entire table row will trigger the collapsing/expansion.

If set to FALSE, an additional span tag will be added to the last visible column in the table which will trigger the collapsing/expansion.

Considerations

  • The collapsible table may not meet accessibility requirements.
  • The module creates an additional table row in the normal table and hides it by default.
  • The targeting row (or optionally, the targeting element) trigger the expansion of the hidden table row
  • The expanded class is added to the triggering row and triggering element when the row is expanded.

Project information

  • Created by jfurnas on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases