SpreadJS Documentation
GC.Spread.Sheets Namespace / CellTypes type / ComboBox Method
In This Topic
    ComboBox Method
    In This Topic
    Represents an editable combo box cell.
    Syntax
    var value; // Type: any
    value = GC.Spread.Sheets.CellTypes.ComboBox();
    function ComboBox() : any;
    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

    CellTypes type