SpreadJS Documentation
GC.Spread.Sheets Namespace / CellTypes type / ButtonList Method
In This Topic
    ButtonList Method
    In This Topic
    Represents an editable buttonList cell.
    Syntax
    var value; // Type: any
    value = GC.Spread.Sheets.CellTypes.ButtonList();
    function ButtonList() : any;
    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

    CellTypes type