SpreadJS Documentation
ComboBoxCellType class
Represents an editable combo box cell.
Syntax
var instance = new GcSpread.Sheets.ComboBoxCellType();
function ComboBoxCellType;
Example
This example creates a combo box cell.
var cellType2 = new GcSpread.Sheets.ComboBoxCellType();
cellType2.items(["a","b","c"]);
activeSheet.getCell(2, 2).cellType(cellType2);
Inheritance Hierarchy

Object
   GcSpread.Sheets.BaseCellType
      GcSpread.Sheets.ComboBoxCellType

Constructors
 NameDescription
public ConstructorComboBoxCellType ConstructorRepresents an editable combo box cell.  
Top
Fields
 NameDescription
public FieldtypeName (Inherited from GcSpread.Sheets.BaseCellType)
Top
Methods
 NameDescription
public MethodactivateEditor (Inherited from GcSpread.Sheets.BaseCellType)
public MethodcreateEditorElement (Inherited from GcSpread.Sheets.BaseCellType)
public MethoddeactivateEditor (Inherited from GcSpread.Sheets.BaseCellType)
public MethodeditableGets or sets whether the combo box is editable.  
public MethodeditorValueTypeGets or sets the value that is written to the underlying data model.  
public Methodfocus (Inherited from GcSpread.Sheets.BaseCellType)
public Methodformat (Inherited from GcSpread.Sheets.BaseCellType)
public MethodgetAutoFitHeight (Inherited from GcSpread.Sheets.BaseCellType)
public MethodgetAutoFitWidth (Inherited from GcSpread.Sheets.BaseCellType)
public MethodgetEditorValue (Inherited from GcSpread.Sheets.BaseCellType)
public MethodgetHitInfo (Inherited from GcSpread.Sheets.BaseCellType)
public MethodisEditingValueChanged (Inherited from GcSpread.Sheets.BaseCellType)
public MethodisImeAware (Inherited from GcSpread.Sheets.BaseCellType)
public MethodisReservedKey (Inherited from GcSpread.Sheets.BaseCellType)
public MethoditemHeightGets or sets the height of each item.  
public MethoditemsGets or sets the items for the drop-down list in the combo box.  
public MethodmaxDropDownItemsGets or sets the maximum item count of the drop-down list per page.  
public Methodpaint (Inherited from GcSpread.Sheets.BaseCellType)
public Methodparse (Inherited from GcSpread.Sheets.BaseCellType)
public MethodprocessKeyDown (Inherited from GcSpread.Sheets.BaseCellType)
public MethodprocessKeyUp (Inherited from GcSpread.Sheets.BaseCellType)
public MethodprocessMouseDown (Inherited from GcSpread.Sheets.BaseCellType)
public MethodprocessMouseEnter (Inherited from GcSpread.Sheets.BaseCellType)
public MethodprocessMouseLeave (Inherited from GcSpread.Sheets.BaseCellType)
public MethodprocessMouseMove (Inherited from GcSpread.Sheets.BaseCellType)
public MethodprocessMouseUp (Inherited from GcSpread.Sheets.BaseCellType)
public MethodselectAll (Inherited from GcSpread.Sheets.BaseCellType)
public MethodsetEditorValue (Inherited from GcSpread.Sheets.BaseCellType)
public MethodupdateEditor (Inherited from GcSpread.Sheets.BaseCellType)
public MethodupdateImeMode (Inherited from GcSpread.Sheets.BaseCellType)
Top
See Also

Reference

GcSpread.Sheets Namespace
Setting a Combo Box Cell

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.