We have the following code:
addressGrid.enableMultiline(true);
addressGrid.enableAutoHeight(true,“500”,false);
addressGrid.init();
This makes the height of the rows of the grid to shrink and be very small.
If I comment out the call to enableMultiline, the height of the rows in the grid becomes normal, but there is no multiline functinality, which is a problem.
If I try to set the height of the row explicitly using
addressGrid.setRowTextStyle(newId,“height:25px;”);
the auto height feature doesn’t work properly and I start seeing vertical scrollbars, when in fact I want an expanding grid.
Please help,
Thanks.
You can add next line to the page
div.gridbox table tr td{
height:25px;
}
It will change default height of row to 25 px
>>If I try to set the height of the row explicitly using
>>addressGrid.setRowTextStyle(newId,“height:25px;”);
Actually such use-case must not be a problem as well, just add grid.setSizes() after changing height of row, ot update global sizes of grid.