cancel
Showing results for 
Search instead for 
Did you mean: 

iGrid Row height

Former Member
0 Kudos

Hi

Is there an option to have rows in an iGrid autofit?

Thanks

Nick

Accepted Solutions (0)

Answers (1)

Answers (1)

jcgood25
Active Contributor
0 Kudos

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