SpreadJS 13
GC.Spread.Sheets Namespace / DropDownType Enumeration
In This Topic
    DropDownType Enumeration
    In This Topic
    Specifies the type of dropdown.
    Members
    MemberDescription
    calculatorIndicates the type of dropdown is calculator.
    colorPickerIndicates the type of dropdown is colorpicker.
    dateTimePickerIndicates the type of dropdown is dateTimePicker.
    listIndicates the type of dropdown is list.
    monthPickerIndicates the type of dropdown is monthPicker.
    sliderIndicates the type of dropdown is slider.
    timePickerIndicates the type of dropdown is timePicker.
    workflowListIndicates the type of dropdown is workflowList.
    Example
    //This example sets the type of dropdown.
    //create style
    var style = new GC.Spread.Sheets.Style();
    style.dropDowns=[
       {
         type:GC.Spread.Sheets.DropDownType.dateTimePicker,
         option: {
             showTime:false
         }
       }
    ];
    sheet.setStyle(0, 0, style);
    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.DropDownType

    See Also