jQuery UI Widgets Forums Lists ListBox Checkboxes and Select in ListBox

This topic contains 2 replies, has 2 voices, and was last updated by  Chris99 9 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Checkboxes and Select in ListBox #67310

    Chris99
    Participant

    Hi,

    I am using the ListBox in a PhoneGap application and am trying to have multiple selection via checkboxes, and single selection by clicking on the item in the ListBox (rather like an email app). Is this possible, as it seems that setting the checkboxes property to true disables all the selection functionality of the ListBox?

    Chris

    Checkboxes and Select in ListBox #67317

    Nadezhda
    Participant

    Hello Chris,

    Unfortunately, it is not possible to check checkboxes and select item by click on the same ListBox. If you need multiple selection you can achieve it if you set ‘multiple’ property to true. Here is an example: http://jsfiddle.net/jqwidgets/YNEQj/.

    Best Regards,
    Nadezhda

    jQWidgets team
    http://www.jqwidgets.com/

    Checkboxes and Select in ListBox #67326

    Chris99
    Participant

    Unfortunately I need both multiple and single selection. So, as per an phone email app, multiple selection via checkbox allows actions on multiple items, whereas selection by pressing the item opens that one item.

    Chris

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

You must be logged in to reply to this topic.