[]
        
(Showing Draft Content)

GC.Spread.Sheets.CellTypes.EditorValueType

Enumeration: EditorValueType

Sheets.CellTypes.EditorValueType

Specifies what is written out to the data model for a selected item from certain cell types that offer a selection of multiple values.

readonly

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);

Table of contents

Enumeration members

Enumeration members

index

index = 1

Writes the index of the selected item to the model.


text

text = 0

Writes the text value of the selected item to the model.


value

value = 2

Writes the corresponding data value of the selected item to the model.