SpreadJS Documentation
setEditorValue Method
The DOM element that was created by the createEditorElement method.
The value returned from the active cell.
The context associated with the cell type. See the Remarks for more information.
Sets the editor's value.
Syntax
var instance = new GcSpread.Sheets.BaseCellType();
var returnValue; // Type: any
returnValue = instance.setEditorValue(editorContext, value, context);
function setEditorValue( 
   editorContext : object,
   value : object,
   context : object
) : any;

Parameters

editorContext
The DOM element that was created by the createEditorElement method.
value
The value returned from the active cell.
context
The context associated with the cell type. See the Remarks for more information.
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.