SpreadJS Documentation
Base class
GC.Spread.Sheets.CellTypes Namespace : Base class
Represents the base class for the other cell type classes.
Syntax
var instance = new GC.Spread.Sheets.CellTypes.Base();
function Base;
Inheritance Hierarchy

Object
   GC.Spread.Sheets.CellTypes.Base
      GC.Spread.Sheets.CellTypes.Button
      GC.Spread.Sheets.CellTypes.CheckBox
      GC.Spread.Sheets.CellTypes.ColumnHeader
      GC.Spread.Sheets.CellTypes.ComboBox
      GC.Spread.Sheets.CellTypes.Corner
      GC.Spread.Sheets.CellTypes.HyperLink
      GC.Spread.Sheets.CellTypes.RowHeader
      GC.Spread.Sheets.CellTypes.Text

Constructors
 NameDescription
public ConstructorRepresents the base class for the other cell type classes.  
Top
Fields
 NameDescription
public FieldRepresents the type name string used for supporting serialization.  
Top
Methods
 NameDescription
public MethodActivates the editor, including setting properties or attributes for the editor and binding events for the editor.  
public MethodCreates a DOM element then returns it.  
public MethodDeactivates the editor, such as unbinding events for editor.  
public MethodFocuses the editor DOM element.  
public MethodFormats a value with the specified format to a string.  
public MethodLoads the object state from the specified JSON string.  
public MethodGets a cell's height that can be used to handle the row's automatic fit.  
public MethodGets a cell's width that can be used to handle the column's automatic fit.  
public MethodGets the editor's value.  
public MethodGets the cell type's hit information.  
public MethodWhether the editing value has changed.  
public MethodWhether this cell type is aware of IME.  
public MethodWhether the cell type handles the keyboard event itself.  
public MethodPaints a cell on the canvas.  
public MethodPaints the cell content area on the canvas.  
public MethodParses the text with the specified format string to an object.  
public MethodProcesses key down in display mode.  
public MethodProcesses key up in display mode.  
public MethodProcesses mouse down in display mode.  
public MethodProcesses mouse enter in display mode.  
public MethodProcesses mouse leave in display mode.  
public MethodProcesses mouse move in display mode.  
public MethodProcesses mouse up in display mode.  
public MethodSelects all the text in the editor DOM element.  
public MethodSets the editor's value.  
public MethodSaves the object state to a JSON string.  
public MethodUpdates the editor's size.  
public MethodUpdates the cell wrapper element size.  
public MethodUpdates the editor's ime-mode.  
Top
See Also

Reference

GC.Spread.Sheets.CellTypes Namespace
Setting a Custom Cell