Spread.Sheets Documentation
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 ConstructorComboBox ConstructorRepresents an editable combo box cell.  
Top
Fields
 NameDescription
public FieldtypeName (Inherited from GC.Spread.Sheets.CellTypes.Base)
Top
Methods
 NameDescription
public MethodactivateEditor (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodcreateEditorElement (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethoddeactivateEditor (Inherited from GC.Spread.Sheets.CellTypes.Base)
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 GC.Spread.Sheets.CellTypes.Base)
public Methodformat (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodfromJSON (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodgetAutoFitHeight (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodgetAutoFitWidth (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodgetEditorValue (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodgetHitInfo (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodisEditingValueChanged (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodisImeAware (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodisReservedKey (Inherited from GC.Spread.Sheets.CellTypes.Base)
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 GC.Spread.Sheets.CellTypes.Base)
public MethodpaintContent (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Methodparse (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessKeyDown (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessKeyUp (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessMouseDown (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessMouseEnter (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessMouseLeave (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessMouseMove (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessMouseUp (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodselectAll (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodsetEditorValue (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodtoJSON (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodupdateEditor (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodupdateEditorContainer (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodupdateImeMode (Inherited from GC.Spread.Sheets.CellTypes.Base)
Top
See Also

Reference

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

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.