GcSpread.Sheets Namespace > ComboBoxCellType class : editable Method |
var instance = new GcSpread.Sheets.ComboBoxCellType(); var returnValue; // Type: boolean returnValue = instance.editable(value);
function editable( value : boolean ) : boolean;
true
if the combo box is editable; otherwise, false
.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);