SpreadJS 13
GC.Spread.Sheets.CellTypes Namespace / EditorType Enumeration
In This Topic
    EditorType Enumeration
    In This Topic
    Represents the editor type of text cell type.
    Members
    MemberDescription
    editableDivUse editorable div element as the editor of text cell type.
    textareaUse textarea element as the editor of text cell type.
    Example
    //This example shows how to change the editor of text cell type to textarea.
    var tempStyle = new GC.Spread.Sheets.Style();
    tempStyle.cellType = new GC.Spread.Sheets.CellTypes.Text(GC.Spread.Sheets.CellTypes.EditorType.textarea);
    activeSheet.setDefaultStyle(tempStyle);
    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.CellTypes.EditorType

    See Also