[]
        
(Showing Draft Content)

GC.Spread.Sheets.CellTypes.SelectionMode

Enumeration: SelectionMode

Sheets.CellTypes.SelectionMode

Specifies the text selection mode for buttonList cells.

example

//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}]);
cellType2.selectionMode(GC.Spread.Sheets.CellTypes.SelectionMode.single);
activeSheet.getCell(2, 2).cellType(cellType2);

Table of contents

Enumeration members

Enumeration members

multiple

multiple = 1

Specifies selection mode is multiple.


single

single = 0

Specifies selection mode is single.