jQuery UI Widgets Forums Lists ListBox Checkboxes are added to the Categories as well

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

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

  • ralemy
    Member

    Hello, I am filling a ListBox with a source property such as:

    var source=[
    {label:'item1', value:'12345678',group:'first'},
    {label:'item2', value:'1234567',group:'first'},
    {label:'item3', value:'123456',group:'first'},
    {label:'item4', value:'12345',group:'second'},
    {label:'item5', value:'1234',group:'second'},
    {label:'item6', value:'123',group:'second'},
    ];
    $('#myel').jqxListBox({source:source, checkboxes:true, width:'200px',height:'250px'});

    What happens is that the widget adds a checkbox for the groups as well.
    Is this a bug or I am not doing something correctly?

    Cheers,
    Rex


    Peter Stoev
    Keymaster

    Hi Rex,

    You are doing everything correctly. I tested the reported behavior and confirm it. I also created a new work item for that issue and we’ll fix it for the next release.

    Thank you very much for the valuable feedback! We appreciate it!

    Best Wishes,
    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.