jQuery UI Widgets Forums Lists ListBox Only 1 item shows in listbox

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Only 1 item shows in listbox #1982

    MikeA
    Member

    I am using jqxListBox, for a simple test, I am just filling it with 3 items. However when it is displayed ONLY the last item in the list is displayed.
    Here is code:

     var source = [
    "Affogato",
    "Americano",
    "Bicerin",
    "Breve",
    ];
    $("#WebSourceList").jqxListBox({ source: source, width: '200', height: '300', theme: GetTheme() });

    Here is what it looks like: (Notice only the last item is shown, no matter how many items are in source)

    Is there any limitation with ListBox such as must be initially visible or cannot work within an iFrame? I know this doesnt make much sense but as you can see the code above is very simple and taking from example.

    thanks,
    Mike

    Only 1 item shows in listbox #1983

    Peter Stoev
    Keymaster

    Hi Mike,

    I am unable to reproduce this issue with the latest version with the information that you provided. I don’t see the html code and the javascript and css files in this code. Of course, there are no limitations in the items appearing in the ListBox. Actually the ListBox in our demos is also loaded in IFrame, but it works as well without IFrame, too. Could you send us the full source code for this test project here or send it to support@jqwidgets.com? You can also see this article: listbox-getting-started.htm. The article shows how to initialize a listbox with several items.

    Best Regards,
    Peter Stoev

    http://www.jqwidgets.com
    jQWidgets Team

    Only 1 item shows in listbox #2054

    MikeA
    Member

    Peter,
    Due to time resources, I decided to just use a standarD UL – LI list instead of JQXListbox. The code is part of a biger project so not easily broken up.
    If I have some time in near feature I will revist this as I do want to use the JQXListbox..

    thanks,
    Mike

    Only 1 item shows in listbox #2061

    Peter Stoev
    Keymaster

    Thanks for the feedback, Mike!

    I will really appreciate, when you have time, to send us a little sample(css, html + script) which reproduces the reported issue. There could be something which breaks the Listbox layout and we would like to debug it.

    Best Regards.
    Peter Stoev

    http://www.jqwidgets.com
    jQWidgets Team

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

You must be logged in to reply to this topic.