SpreadJS 13
GC.Spread.Sheets.CellTypes Namespace / SelectionMode Enumeration
In This Topic
    SelectionMode Enumeration
    In This Topic
    Specifies the text selection mode for buttonList cells.
    Members
    MemberDescription
    multipleSpecifies selection mode is multiple.
    singleSpecifies selection mode is single.
    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);
    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.CellTypes.SelectionMode

    See Also