Skip to main content

GridCellStyle

Represents grid cell style.

Constructors

new GridCellStyle()

new GridCellStyle(dart): GridCellStyle

Parameters

ParameterType
dartany

Returns

GridCellStyle

Source

src/grid.ts:1153

Properties

PropertyType
dartany

Accessors

backColor

get backColor(): number

Background color (RGBA-encoded)

set backColor(x): void

Parameters

ParameterType
xnumber

Returns

number

Source

src/grid.ts:1180


backColorHtml

get backColorHtml(): string

Returns

string

Source

src/grid.ts:1182


element

get element(): HTMLElement

DOM Element to put in the cell

set element(x): void

Parameters

ParameterType
xHTMLElement

Returns

HTMLElement

Source

src/grid.ts:1185


font

get font(): string

Font. Example: 12px Verdana

set font(x): void

Parameters

ParameterType
xstring

Returns

string

Source

src/grid.ts:1162


horzAlign

get horzAlign(): null | HorzAlign

set horzAlign(x): void

Parameters

ParameterType
xnull | HorzAlign

Returns

null | HorzAlign

Source

src/grid.ts:1165


marginLeft

get marginLeft(): number

set marginLeft(x): void

Parameters

ParameterType
xnumber

Returns

number

Source

src/grid.ts:1171


marker

get marker(): string

set marker(x): void

Parameters

ParameterType
xstring

Returns

string

Source

src/grid.ts:1168


textColor

get textColor(): number

Text color (RGBA-encoded)

set textColor(x): void

Parameters

ParameterType
xnumber

Returns

number

Source

src/grid.ts:1175


textColorHtml

get textColorHtml(): string

Returns

string

Source

src/grid.ts:1177


textVertical

get textVertical(): boolean

Vertical text orientation

set textVertical(x): void

Parameters

ParameterType
xboolean

Returns

boolean

Source

src/grid.ts:1189


textWrap

get textWrap(): null | TextWrap

set textWrap(x): void

Parameters

ParameterType
xnull | TextWrap

Returns

null | TextWrap

Source

src/grid.ts:1195


vertAlign

get vertAlign(): null | VertAlign

set vertAlign(x): void

Parameters

ParameterType
xnull | VertAlign

Returns

null | VertAlign

Source

src/grid.ts:1192

Methods

create()

static create(): GridCellStyle

Returns

GridCellStyle

Source

src/grid.ts:1157