var instance = new GC.Spread.Sheets.CellTypes.ButtonList();
function ButtonList;
var instance = new GC.Spread.Sheets.CellTypes.ButtonList();
function ButtonList;
//This example creates a buttonList cell. var cellType2 = new GC.Spread.Sheets.CellTypes.ButtonList(); cellType2.items([{text:"a",value:1},{text:"b",value:2},{text:"c",value:3}]); activeSheet.getCell(2, 2).cellType(cellType2);
Object
GC.Spread.Sheets.CellTypes.ButtonList
Name | Description | |
---|---|---|
![]() | ButtonList Constructor | Represents an editable buttonList cell. |
Name | Description | |
---|---|---|
![]() | direction | Gets or sets the buttonList list's orders. |
![]() | isFlowLayout | Gets or sets the buttonList list's layout is autofit. |
![]() | items | Gets or sets the items for the buttonList list. |
![]() | itemSpacing | Gets or sets the space for two items in the buttonList. |
![]() | maxColumnCount | Gets or sets the items for the buttonList list's column count. |
![]() | maxRowCount | Gets or sets the items for the buttonList list's row count. |
![]() | padding | Gets or sets the buttonList's padding in pixels relative to the cell. |
![]() | selectedBackColor | Gets or sets the selected buttonList's background color. |
![]() | selectedForeColor | Gets or sets the selected buttonList's fore color. |
![]() | selectionMode | Gets or sets the buttonList's select mode. |