SpreadJS Documentation
Using the Cell Elements

The cell elements are CheckBoxCellType, TextCellType, ButtonCellType, ComboBoxCellType, and HyperLinkCellType.

The text cell type has no attributes or child elements.

The CheckBoxCellType element has no child elements. The following table lists the attributes of the CheckBoxCellType element.

Attribute API Reference Type
isThreeState CheckBoxCellType.isThreeState(value) Boolean
text CheckBoxCellType.text(value) string
textAlign CheckBoxCellType.textAlign(value) GcSpread.Sheets.CheckBoxTextAlign
textFalse CheckBoxCellType.textFalse(value) string
textIndeterminate CheckBoxCellType.textIndeterminate(value) string
textTrue CheckBoxCellType.textTrue(value) string

The ButtonCellType element has no child elements. The following table lists the attributes of the ButtonCellType element.

Attribute API Reference Type
buttonBackColor ButtonCellType.buttonBackColor(value) string
marginBottom ButtonCellType.marginBottom(value) number
marginLeft ButtonCellType.marginLeft(value) number
marginRight ButtonCellType.marginRight(value) number
marginTop ButtonCellType.marginTop(value) number
text ButtonCellType.text(value) string

The ComboBoxCellType element has no child elements. The following table lists the attributes of the ComboBoxCellType element.

Attribute API Reference Type
editorValueType ComboBoxCellType .editorValueType(value) GcSpread.Sheets.EditorValueType
items ComboBoxCellType .items(value) string array

The HyperLinkCellType element has no child elements. The following table lists the attributes of the HyperLinkCellType element.

Attribute API Reference Type
linkColor HyperLinkCellType.linkColor(value) string
linkToolTip HyperLinkCellType.linkToolTip(value) string
text HyperLinkCellType.text(value) number
visitedLinkColor HyperLinkCellType.visitedLinkColor(value) number

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.