on 11-29-2007 3:33 PM
Hi
Is there an option to have rows in an iGrid autofit?
Thanks
Nick
Nick,
RowHeight=0 does auto-fit, but only based upon the font-size of the text. Anything other than 0 will be up to you and a combination of the hard wrapping settings and column width will be your only other options to control this. It doesn't work like Excel where you can hit the corner and double click between the row grid lines and have some rows thin and other rows thick (the iGrid will always be uniform for all rows).
I've often used the SelectionEvent or CellSelectionEvent to get the potentially large text value and pump it into a readonly html textarea which does a nice job of formatting, word wrapping, and scrolling the string. If the user needs the string they can also get it into their clipboard quite easily.
Regards,
Jeremy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.