SpreadJS 13
GC.Spread.Sheets Namespace / CellRange type / dropDowns Method
the dropDowns of the cell.
In This Topic
    dropDowns Method
    In This Topic
    Gets or sets the dropDowns of the cell.
    Syntax
    var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea);
    var returnValue; // Type: any
    returnValue = instance.dropDowns(value);
    function dropDowns( 
       (optional) value : undefined
    ) : any;

    Parameters

    value
    the dropDowns of the cell.

    Return Value

    If no value is set, returns the dropDowns of the cell; otherwise, returns the cell.
    Example
    activeSheet.getRange(2,-1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).dropDowns([caption:"Text"]]);
    var dropDowns = activeSheet.getRange(-1, 3, -1, 1, GC.Spread.Sheets.SheetArea.viewport).dropDowns();
    See Also

    Reference

    CellRange type