[]
Sheets.CellTypes.EditorValueType
指定从提供多个值选择的某些单元格类型中,所选项目写入数据模型的内容。
readonly
example
//此示例使用 EditorValueType 枚举。
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);
• index = 1
将所选项目的索引写入模型。
• text = 0
将所选项目的文本值写入模型。
• value = 2
将所选项目的对应数据值写入模型。