Updates the editor's size.
var instance = new GC.Spread.Sheets.CellTypes.Base();
var value; // Type: object
value = instance.updateEditor(editorContext, cellStyle, cellRect, context);
function updateEditor(
: object,
: Style,
: Rect,
: object
) : object;
Parameters
- editorContext
- The DOM element that was created by the createEditorElement method.
- cellStyle
- The cell's actual style.
- cellRect
- The cell's layout information.
- context
- The context associated with the cell type. See the Remarks for more information.
Return Value
Returns the new size for cell wrapper element, it should contain two properties 'width' and 'height'.