PDA

View Full Version : Percent Widths on Grid Columns



thejoker101
14 Nov 2006, 7:45 AM
Perhaps this has been suggested before, but if not, I'd like to suggest it.

We've modified our Grid components to fill all of the space of whatever container it is in and also to resize when the window resizes. However, the columns don't alway take advantage of that space.

The autosize() function seemed to just resize all the columns to the same width, which doesn't really help if you have some smaller columns and some larger ones.

It seems like the easiest way is to just set a percent width on each column, and maybe a min/max-width, too I guess.