how to autosize row height in 2.0
I've see the posts about changing row height in 1.0 using the following code:
However; I don't see anything about how to do that in 2.0; more to the point, I'd really like for the row height to auto-adjust, if at all possible; I saw references to setting the following CSS, but it doesn't appear to have any affect in 2.0:
Can anyone point me in the right direction here?? I need to have some rows in the grid have their own, dynamic height. Some rows will have textareas and/or large amounts of text that I'd like to have wrap.
Thanks!
function rowNumber(){
return this.getRowProperty("index");
}
workflowGrid.getRowTemplate().setClass("row", rowNumber);
However; I don't see anything about how to do that in 2.0; more to the point, I'd really like for the row height to auto-adjust, if at all possible; I saw references to setting the following CSS, but it doesn't appear to have any affect in 2.0:
.active-grid-row {
_overflow: visible;
}
.active-grid-row.gecko {
display: -moz-box;
height: auto;
width: auto;
min-width: 100%;
}
Can anyone point me in the right direction here?? I need to have some rows in the grid have their own, dynamic height. Some rows will have textareas and/or large amounts of text that I'd like to have wrap.
Thanks!
Gary
May 16,