SpreadJS 13
GC.Spread.Sheets.CellTypes Namespace / ButtonList type
In This Topic
    ButtonList type
    In This Topic
    Represents an editable buttonList cell.
    Syntax
    var instance = new GC.Spread.Sheets.CellTypes.ButtonList();
    function 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);
    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.CellTypes.ButtonList

    Constructors
     NameDescription
    public ConstructorRepresents an editable buttonList cell.  
    Top
    Methods
     NameDescription
    public MethodGets or sets the buttonList list's orders.  
    public MethodGets or sets the buttonList list's layout is autofit.  
    public MethodGets or sets the items for the buttonList list.  
    public MethodGets or sets the space for two items in the buttonList.  
    public MethodGets or sets the items for the buttonList list's column count.  
    public MethodGets or sets the items for the buttonList list's row count.  
    public MethodGets or sets the buttonList's padding in pixels relative to the cell.  
    public MethodGets or sets the selected buttonList's background color.  
    public MethodGets or sets the selected buttonList's fore color.  
    public MethodGets or sets the buttonList's select mode.  
    Top
    See Also