jQWidgets Forums

jQuery UI Widgets Forums Lists DropDownList uncheckall

Tagged: 

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    uncheckall Posts
  • uncheckall #27637

    morfeusz
    Participant

    Hi,
    when you use in example on demo page:

    $(“#jqxWidget”).jqxDropDownList(‘uncheckAll’)

    this will uncheck all items,
    but text of one item will always ‘stay’ in dropdownlist label .

    I fix this right now with this:
    $(“#jqxWidget”).jqxDropDownList(‘setContent’, ”)

    And when you fire uncheckall in the checkChange event
    the getCheckedItems methods throw checked items. (but should throw empty array)

    uncheckall #27647

    Peter Stoev
    Keymaster

    Hi morfeusz,

    Thank you for the feedback! The “checkChange” is raised for each change so you should use “getCheckedItems” after you call “uncheckAll”.

    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.