SpreadJS Documentation
vAlign Method
The vertical alignment.
Gets or sets the vertical alignment of the contents of the cells in the column.
Syntax
var instance = new GcSpread.Sheets.Column(sheet, index, sheetArea);
var returnValue; // Type: VerticalAlign
returnValue = instance.vAlign(value);
function vAlign( 
   value : VerticalAlign
) : VerticalAlign;

Parameters

value
The vertical alignment.

Return Value

The vertical alignment.
Example
This example sets the alignment.
activeSheet.getColumn(3).vAlign(GcSpread.Sheets.VerticalAlign.top);
Remarks
The default value is VerticalAlign.center.
See Also

Reference

Column type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.