Spread.Sheets 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 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

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.