Spread.Sheets Documentation
editorValueType Method
The type of editor value.
Gets or sets the value that is written to the underlying data model.
Syntax
var instance = new GC.Spread.Sheets.CellTypes.ComboBox();
var returnValue; // Type: any
returnValue = instance.editorValueType(value);
function editorValueType( 
   value : EditorValueType
) : any;

Parameters

value
The type of editor value.

Return Value

If no value is set, returns the type of editor value; otherwise, returns the combo box cellType.
Example
This example gets the type.
var cellType2 = new GC.Spread.Sheets.CellTypes.ComboBox(); 
cellType2.items(["a","b","c"]); 
activeSheet.getCell(2, 2).cellType(cellType2);
alert(cellType2.editorValueType());
See Also

Reference

ComboBox class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.