SpreadJS Documentation
ComboBox class
GC.Spread.Sheets.CellTypes Namespace : ComboBox class
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.Base
      GC.Spread.Sheets.CellTypes.ComboBox

Constructors
 NameDescription
public ConstructorRepresents an editable combo box cell.  
Top
Fields
 NameDescription
public Field (Inherited from GC.Spread.Sheets.CellTypes.Base)
Top
Methods
 NameDescription
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
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 Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
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.  
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
Top
See Also

Reference

GC.Spread.Sheets.CellTypes Namespace
Setting a Combo Box Cell