SpreadJS Documentation
maxDropDownItems Method
The maximum item count of the drop-down list per page.
Gets or sets the maximum item count of the drop-down list per page.
Syntax
var instance = new GcSpread.Sheets.ComboBoxCellType();
var returnValue; // Type: number
returnValue = instance.maxDropDownItems(value);
function maxDropDownItems( 
   value : number
) : number;

Parameters

value
The maximum item count of the drop-down list per page.

Return Value

The maximum item count of the drop-down list per page.
Example
This example shows three items in the list at a time.
var cellType2 = new GcSpread.Sheets.ComboBoxCellType(); 
cellType2.items(["a","b","c", "d", "e", "f", "g", "h"]); 
cellType2.maxDropDownItems(3);
activeSheet.getCell(2, 2).cellType(cellType2);
See Also

Reference

ComboBoxCellType class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.