SpreadJS Documentation
itemHeight Method
GC.Spread.Sheets.CellTypes Namespace > ComboBox class : itemHeight Method
The height of each item.
Gets or sets the height of each item.
Syntax
var instance = new GC.Spread.Sheets.CellTypes.ComboBox();
var returnValue; // Type: any
returnValue = instance.itemHeight(value);
function itemHeight( 
   value : number
) : any;

Parameters

value
The height of each item.

Return Value

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

Reference

ComboBox class