jQWidgets Forums

jQuery UI Widgets Forums Lists DropDownList dropdownlist dropDown not showing up

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • dropdownlist dropDown not showing up #18456

    jahnvi25
    Participant

    i am just running very very basic demo of drop down list. and its not showing up the listbox.. below is the code.
    this is very basic demo that tool from samples.. except that i changed the path where css and js are located.. firebug does not give any error or complains about missing js file…

    what am i missing ?

    The jqxDropDownList represents a widget that contains a list
    of selectable items displayed in a drop-down.

    $(document).ready(function () {
    var theme = getTheme();
    var source = [
    “Affogato”,
    “Americano”,
    “Bicerin”,
    “Breve”,
    “Café Bombón”,
    “Café au lait”,
    “Caffé Corretto”,
    “Café Crema”,
    “Caffé Latte”,
    “Caffé macchiato”,
    “Café mélange”,
    “Coffee milk”,
    “Cafe mocha”,
    “Cappuccino”,
    “Carajillo”,
    “Cortado”,
    “Cuban espresso”,
    “Espresso”,
    “Eiskaffee”,
    “The Flat White”,
    “Frappuccino”,
    “Galao”,
    “Greek frappé coffee”,
    “Iced Coffee”,
    “Indian filter coffee”,
    “Instant coffee”,
    “Irish coffee”,
    “Liqueur coffee”
    ];

    // Create a jqxDropDownList
    $(“#jqxWidget”).jqxDropDownList({ source: source, selectedIndex: 0, width: ‘200’, height: ’25’, theme: theme });
    });

    dropdownlist dropDown not showing up #18461

    Peter Stoev
    Keymaster

    Hi jahnvi25,

    var theme = getTheme();

    is a wrong code, because there is no such function. The function used in our demos is getDemoTheme and it should be used only in the demos. Please, download jQWidgets 2.8 and you can find the working DropDownList samples in the “demos/jqxdropdownlist folder”.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.