SpreadJS 14
GC.Spread.Sheets Namespace / CellTypes type / EditorValueType Field
In This Topic
    EditorValueType Field
    In This Topic
    Specifies what is written out to the data model for a selected item from certain cell types that offer a selection of multiple values.
    Syntax
    var value; // Type: EditorValueType
    value = GC.Spread.Sheets.CellTypes.EditorValueType;
    var EditorValueType : EditorValueType;
    Example
    //This example uses the EditorValueType enumeration.
    var cellType2 = new GC.Spread.Sheets.CellTypes.ComboBox();
    cellType2.items(["a","b","c"]);
    cellType2.editorValueType(GC.Spread.Sheets.CellTypes.EditorValueType.text);
    activeSheet.getCell(2, 2).cellType(cellType2);
    See Also

    Reference

    CellTypes type