WPApps Table Collapser is a lightweight plugin that makes your tables collapsible. By adding a collapsible-table
class to your tables, you enable users to toggle the visibility of the table body by simply clicking on the table header.
+/-
indicator to the last column of the table header.Usage:
<thead>
tag for the table header, though it’s not mandatory if you enable the “Allow Table Without <thead>
” option in settings.collapsible-table
to your table.data-title
attribute to your table to set a custom title for the mobile compact view.+/-
) added to it. Clicking anywhere in the header will show or hide the table body.