SpreadJS Documentation
editable Method
Whether the combo box is editable.
Gets or sets whether the combo box is editable.
Syntax
var instance = new GcSpread.Sheets.ComboBoxCellType();
var returnValue; // Type: boolean
returnValue = instance.editable(value);
function editable( 
   value : boolean
) : boolean;

Parameters

value
Whether the combo box is editable.

Return Value

true if the combo box is editable; otherwise, false.
Example
This example sets the editable method.
var items2 = ["a", "ab", "abc", "apple", "boy", "cat", "dog"];
var eComboBoxCellType = new GcSpread.Sheets.ComboBoxCellType().items(items2).editable(true);
activeSheet.getCell(1, 3).cellType(eComboBoxCellType);
activeSheet.setColumnWidth(0,120);
activeSheet.setColumnWidth(2,120);
See Also

Reference

ComboBoxCellType class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.