5

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

Augustus
  • 1,479
  • 2
  • 17
  • 31
Michael Haren
  • 105,752
  • 40
  • 168
  • 205
  • Apparently the keywords I was missing in my search were "show/hide". Possible dupe: http://stackoverflow.com/questions/455958/hide-show-column-in-an-html-table – Michael Haren Oct 02 '09 at 20:39

1 Answers1

6

Use the columnManager plugin. Can't be easier.

codehead
  • 2,077
  • 16
  • 20