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

Parameters

value
The cell top border line.

Return Value

The cell top border line.
Example
This example creates a border.
activeSheet.getCell(1,1).borderTop(new GcSpread.Sheets.LineBorder("red", GcSpread.Sheets.LineStyle.double));
See Also

Reference

Cell type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.