jQuery UI Widgets Forums Lists DropDownList Dropdownlist checked items

Tagged: 

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Dropdownlist checked items #101453

    dan123
    Participant

    Hi i have this dropdownlst where on a click of a button go look for checked items using ‘getCheckedItems’ method and perform a certain logic.
    In my jsfiddle example, when i click the dropdown and check items. After that click on the button, it should show/hide that ‘Price’ field based on whether checkbox accordingly.

    I need the show/hide to work on the button click.

    Here is my jsfiddle:
    https://jsfiddle.net/UbK74/2695/

    Dropdownlist checked items #101461

    admin
    Keymaster

    Hi dan123,

    We do not see an element with ID price in this jsfiddle.net. Do you want to hide the PRICE dropdownlist item?

    Regards,
    Peter

    Dropdownlist checked items #101468

    dan123
    Participant

    The id price is in the grid cellsrenderer. This is just a test example, other rows will have it own unique id. So during button click it will check the dropdownlist items for the ones that are checked and show the field in the grid. If certain items in dropdownlist are not checked then that field would not show in the grid.

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

You must be logged in to reply to this topic.