Is there a way to top align the text in a cell in a flexgrid?
Printable View
Is there a way to top align the text in a cell in a flexgrid?
You can use one of the following :
To control the alignment within a column using the ColAlignment
property, use the constants defined for the CellAlignment property.
These constants include:
- flexAlignLeftTop
- flexAlignLeftCenter
- flexAlignLeftBottom
- flexAlignCenterTop
- flexAlignCenterCenter
- flexAlignCenterBottom
- flexAlignRightTop
- flexAlignRightCenter
- flexAlignRightBottom
- flexAlignGeneral
I.e. -
MSFlexGrid1.CellAlignment = flexAlignCenterTop