SpreadJS 13
GC.Spread.Sheets.CellTypes Namespace / Base class / selectAll Method
The DOM element that was created by the createEditorElement method.
The context associated with the cell type. See the Remarks for more information.
In This Topic
    selectAll Method
    In This Topic
    Selects all the text in the editor DOM element.
    Syntax
    var instance = new GC.Spread.Sheets.CellTypes.Base();
    var value; // Type: any
    value = instance.selectAll(editorContext, context);
    function selectAll( 
       editorContext : Object,
       context : Object
    ) : any;

    Parameters

    editorContext
    The DOM element that was created by the createEditorElement method.
    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 GC.Spread.Sheets.Sheet instance Indicates the current sheet.
    context.row number The row index.
    context.col number The column index.
    context.sheetArea GC.Spread.Sheets.SheetArea The current sheet area.

     

    See Also

    Reference

    Base class