3.2.0

cell vertical alignment

How do you set the cell's vertical alignment, so that text in the cell appears at the top (for example) of the cell?

I've tried both of the following:

workflowGrid.getRowTemplate(3).setStyle("vertical-align","top");


and

workflowGrid.getCellTemplate(0,3).setStyle("vertical-align","top");
workflowGrid.getCellTemplate(1,3).setStyle("vertical-align","top");
workflowGrid.getCellTemplate(2,3).setStyle("vertical-align","top");


But neither seems to work; what am I missing here?
Gary
May 16,
Better doing this with css -

.aw-grid-control .aw-item-text {
    vertical-align: top;
}


or

.aw-column-1 .aw-item-text {
    vertical-align: top;
}

Alex (ActiveWidgets)
May 16,
Yup... figured that out late last night; thanks Alex!
Gary
May 17,

This topic is archived.

See also:


Back to support forum