SpreadJS Documentation
GC.Spread.Sheets Namespace / CellTypes type / EditorType Field
In This Topic
    EditorType Field
    In This Topic
    Represents the editor type of text cell type.
    Syntax
    var value; // Type: EditorType
    value = GC.Spread.Sheets.CellTypes.EditorType;
    var EditorType : EditorType;
    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);
    See Also

    Reference

    CellTypes type