SpreadJS Documentation
CustomCellType type
Represents the custom cell.
Syntax
var instance = new GcSpread.Sheets.CustomCellType();
function CustomCellType;
Inheritance Hierarchy

Object
   GcSpread.Sheets.BaseCellType
      GcSpread.Sheets.CustomCellType

Constructors
 NameDescription
public ConstructorCustomCellType ConstructorRepresents the custom cell.  
Top
Fields
 NameDescription
public FieldtypeNameRepresents the type name string used for supporting serialization.  
Top
Methods
 NameDescription
public MethodactivateEditorActivates the editor, including setting properties or attributes for the editor and binding events for the editor.  
public MethodcreateEditorElementCreates a DOM element then returns it.  
public MethoddeactivateEditorDeactivates the editor, such as unbinding events for the editor.  
public Methodfocus (Inherited from GcSpread.Sheets.BaseCellType)
public Methodformat (Inherited from GcSpread.Sheets.BaseCellType)
public MethodfromJSONLoads the object state from the specified JSON string.  
public MethodgetAutoFitHeightGets a cell's height that can be used to handle the row's automatic fit.  
public MethodgetAutoFitWidthGets a cell's width that can be used to handle the column's automatic fit.  
public MethodgetEditorValueGets the editor's value.  
public MethodgetHitInfoGets the cell type's hit information.  
public MethodisEditingValueChangedWhether the editing value changed.  
public MethodisImeAwareWhether this cell type is aware of IME.  
public MethodisReservedKeyWhether the cell type handles the keyboard event itself.  
public MethodpaintPaints a cell on the canvas.  
public Methodparse (Inherited from GcSpread.Sheets.BaseCellType)
public MethodprocessKeyDownProcesses key down in display mode.  
public MethodprocessKeyUpProcesses key up in display mode.  
public MethodprocessMouseDownProcesses mouse down in display mode.  
public MethodprocessMouseEnterProcesses mouse enter in display mode.  
public MethodprocessMouseLeaveProcesses mouse leave in display mode.  
public MethodprocessMouseMoveProcesses mouse move in display mode.  
public MethodprocessMouseUpProcesses mouse up in display mode.  
public MethodselectAll (Inherited from GcSpread.Sheets.BaseCellType)
public MethodsetEditorValueSets the editor's value.  
public MethodtoJSONSaves the object state to a JSON string.  
public MethodupdateEditorUpdates the editor's size.  
public MethodupdateImeModeUpdates the editor's ime-mode.  
Top
See Also

Reference

GcSpread.Sheets Namespace
Setting a Custom Cell

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.