SpreadJS 13
GC.Spread.Sheets.CellTypes Namespace / Base class / updateEditorContainer Method
The DOM element that was created by the createEditorElement method.
The cell wrapper element's new size.
The cell wrapper element's x position.
The cell wrapper element's y position.
The cell wrapper element's new width value.
The cell wrapper element's new height value.
The cell's actual style.
In This Topic
    updateEditorContainer Method
    In This Topic
    Updates the cell wrapper element size.
    Syntax
    var instance = new GC.Spread.Sheets.CellTypes.Base();
    var value; // Type: any
    value = instance.updateEditorContainer(editorContext,
                                           editorBounds,
                                           editorBounds.x,
                                           editorBounds.y,
                                           editorBounds.width,
                                           editorBounds.height,
                                           cellStyle);
    function updateEditorContainer( 
       editorContext : HTMLElement,
       editorBounds : Rect,
       editorBounds.x : number,
       editorBounds.y : number,
       editorBounds.width : number,
       editorBounds.height : number,
       cellStyle : Style
    ) : any;

    Parameters

    editorContext
    The DOM element that was created by the createEditorElement method.
    editorBounds
    The cell wrapper element's new size.
    editorBounds.x
    The cell wrapper element's x position.
    editorBounds.y
    The cell wrapper element's y position.
    editorBounds.width
    The cell wrapper element's new width value.
    editorBounds.height
    The cell wrapper element's new height value.
    cellStyle
    The cell's actual style.
    See Also

    Reference

    Base class