简体   繁体   中英

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!).

Use the columnManager plugin. Can't be easier.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM