Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Collapse/Expand table columns (not rows)

I have a large report currently rendered as a regular HTML table. I'd like to be able to group columns together and expand/collapse them with a button.

This is a very common practice for rows but not so much for columns. I was wondering if anyone has any tips for doing it with columns.

My stack includes jquery so that's available to you (though certainly not required!).

like image 685
Michael Haren Avatar asked Oct 02 '09 20:10

Michael Haren


1 Answers

Use the columnManager plugin. Can't be easier.

like image 118
codehead Avatar answered Sep 30 '22 08:09

codehead