Spread.Sheets Documentation
items Method
GC.Spread.Sheets.CellTypes Namespace > ComboBox class : 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 GC.Spread.Sheets.CellTypes.ComboBox();
var value; // Type: any
value = instance.items(items);
function items( 
   items : Array
) : any;

Parameters

items
The items for the combo box.

Return Value

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

Reference

ComboBox class