SpreadJS 14
GC.Spread.Sheets.CellTypes Namespace / ButtonList type / ButtonList Constructor
In This Topic
    ButtonList Constructor
    In This Topic
    Represents an editable buttonList cell.
    Syntax
    var instance = new GC.Spread.Sheets.CellTypes.ButtonList();
    function ButtonList() : ButtonList;
    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}]);
    activeSheet.getCell(2, 2).cellType(cellType2);
    See Also

    Reference

    ButtonList type