Change table column size
Posted on 2004-10-13
I have a table where the user may want to hide some columns in order to provide more room. I'd like to devise a script that would let them click a given cell (in top row) and have that column collapse to a width of say, 5 px. A 2nd click to that cell would toggle the column back to the original width.
It would probably be necessary to make the text as tiny as possible and change font color to the same as the background color so the cell looks blank.
Any examples of something like this anywhere?