SpreadJS Documentation
EditorValueType Enumeration
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 GcSpread.Sheets.ComboBoxCellType(); 
cellType2.items(["a","b","c"]); 
cellType2.editorValueType(GcSpread.Sheets.EditorValueType.Text);
activeSheet.getCell(2, 2).cellType(cellType2);
Inheritance Hierarchy

Object
   GcSpread.Sheets.EditorValueType

See Also

Reference

GcSpread.Sheets Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.