:: Forum >>

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
Tuesday, May 16, 2006
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)
Tuesday, May 16, 2006
Yup... figured that out late last night; thanks Alex!
Gary
Wednesday, May 17, 2006

This topic is archived.


Back to support forum

Forum search