Search results

CellStyle API in JavaScript (ES5) Spreadsheet API control

Represents the cell style.

Properties

backgroundColor

string

Specifies background color to the cell.

Defaults to ‘#ffffff’

border

string

Specifies border of the cell.

Defaults to

borderBottom

string

Specifies bottom border of the cell.

Defaults to

borderLeft

string

Specifies left border of the cell.

Defaults to

borderRight

string

Specifies right border of the cell.

Defaults to

borderTop

string

Specifies top border of the cell.

Defaults to

color

string

Specifies font color to the cell.

Defaults to ‘#000000’

fontSize

string

Specifies font size to the cell.

Defaults to ‘11pt’

fontStyle

FontStyle

Specifies font style to the cell.

Defaults to ‘normal’

fontWeight

FontWeight

Specifies font weight to the cell.

Defaults to ‘normal’

textAlign

TextAlign

Specifies text align style to the cell.

Defaults to ‘left’

textDecoration

TextDecoration

Specifies text decoration to the cell.

Defaults to ‘none’

textIndent

string

Specifies text indent style to the cell.

Defaults to ‘0pt’

verticalAlign

VerticalAlign

Specifies vertical align to the cell.

Defaults to ‘bottom’