SpreadJS Documentation
items Method
The items for the combo box.
Gets or sets the items for the drop-down list in the combo box.
Syntax
var instance = new GcSpread.Sheets.ComboBoxCellType();
var value; // Type: Array
value = instance.items(items);
function items( 
   items : Array
) : Array;

Parameters

items
The items for the combo box.

Return Value

The items array.
Example
This example creates a combo box cell.
var cellType2 = new GcSpread.Sheets.ComboBoxCellType();
cellType2.items(["a","b","c"]);
activeSheet.getCell(2, 2).cellType(cellType2);
See Also

Reference

ComboBoxCellType class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.