SpreadJS Documentation
createEditorElement Method
The context associated with the cell type. See the Remarks for more information.
Creates a DOM element then returns it.
Syntax
var instance = new GcSpread.Sheets.BaseCellType();
var value; // Type: object
value = instance.createEditorElement(context);
function createEditorElement( 
   context : object
) : object;

Parameters

context
The context associated with the cell type. See the Remarks for more information.

Return Value

Returns a DOM element.
Remarks

The context parameter can include the following items:

Item Type Description
context.sheet GcSpread.Sheets.Sheet instance Indicates the current sheet.
context.row number The row index.
context.col number The column index.
context.sheetArea GcSpread.Sheets.SheetArea The current sheet area.

 

See Also

Reference

BaseCellType type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.