SpreadJS Documentation
hAlign Method
The row horizontal alignment.
Gets or sets the horizontal alignment for the contents of the row.
Syntax
var instance = new GcSpread.Sheets.Row(sheet, index, sheetArea);
var returnValue; // Type: HorizontalAlign
returnValue = instance.hAlign(value);
function hAlign( 
   value : HorizontalAlign
) : HorizontalAlign;

Parameters

value
The row horizontal alignment.

Return Value

The row horizontal alignment.
Example
This example sets the horizontal alignment.
activeSheet.getRow(2).hAlign(GcSpread.Sheets.HorizontalAlign.left);
Remarks
The default value is HorizontalAlign.center.
See Also

Reference

Row type
Setting Cell Alignment and Indentation

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.