SpreadJS Documentation
borderBottom Method
GC.Spread.Sheets Namespace > CellRange type : borderBottom Method
The cell bottom border line.
Gets or sets the bottom border of the cell.
Syntax
var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea);
var returnValue; // Type: any
returnValue = instance.borderBottom(value);
function borderBottom( 
   value : LineBorder
) : any;

Parameters

value
The cell bottom border line.

Return Value

If no value is set, returns the cell bottom border line; otherwise, returns the cell.
Example
The following examples create a border.
activeSheet.getRange(2, -1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).borderBottom(new GC.Spread.Sheets.LineBorder("green", GC.Spread.Sheets.LineStyle.mediumDashed));
activeSheet.getCell(1,1).borderBottom(new GC.Spread.Sheets.LineBorder("red", GC.Spread.Sheets.LineStyle.double));
activeSheet.getRange(-1, 3, -1, 1, GC.Spread.Sheets.SheetArea.viewport).borderBottom(new GC.Spread.Sheets.LineBorder("blue", GC.Spread.Sheets.LineStyle.mediumDashed));
See Also

Reference

CellRange type
Setting Borders, Gridlines and Diagonal Lines