SpreadJS Documentation
borderTop Method
The row top border line.
Gets or sets the top border for the row.
Syntax
var instance = new GcSpread.Sheets.Row(sheet, index, sheetArea);
var returnValue; // Type: LineBorder
returnValue = instance.borderTop(value);
function borderTop( 
   value : LineBorder
) : LineBorder;

Parameters

value
The row top border line.

Return Value

The row top border line.
Example
This example sets the row border.
activeSheet.getRow(2).borderTop(new GcSpread.Sheets.LineBorder("green", GcSpread.Sheets.LineStyle.mediumDashed));
See Also

Reference

Row type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.