SpreadJS 14
GC.Spread.Sheets.CellTypes Namespace / ComboBox class
In This Topic
    ComboBox class
    In This Topic
    Represents an editable combo box cell.
    Syntax
    var instance = new GC.Spread.Sheets.CellTypes.ComboBox();
    function ComboBox;
    Example
    This example creates a combo box cell.
    var cellType2 = new GC.Spread.Sheets.CellTypes.ComboBox();
    cellType2.items(["a","b","c"]);
    activeSheet.getCell(2, 2).cellType(cellType2);
    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.CellTypes.ComboBox

    Constructors
     NameDescription
    public ConstructorRepresents an editable combo box cell.  
    Top
    Methods
     NameDescription
    public MethodGets or sets whether the combo box is editable.  
    public MethodGets or sets the value that is written to the underlying data model.  
    public MethodGets or sets the height of each item.  
    public MethodGets or sets the items for the drop-down list in the combo box.  
    public MethodGets or sets the maximum item count of the drop-down list per page.  
    Top
    See Also