SpreadJS 13
GC.Spread.Sheets.CellTypes Namespace / EditorValueType Enumeration
In This Topic
    EditorValueType Enumeration
    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.
    Members
    MemberDescription
    indexWrites the index of the selected item to the model.
    textWrites the text value of the selected item to the model.
    valueWrites the corresponding data value of the selected item to the model.
    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);
    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.CellTypes.EditorValueType

    See Also