jQuery UI Widgets Forums Lists DropDownList Deleting item in JqxDropDowns

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 11 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Deleting item in JqxDropDowns #20409

    kuberasamrat
    Participant

    I have API called removeAt which uses index for removing the item in jqxDropDown/ComboBox. How would I delete an item based on value/label. Is there any API?
    Do we need to manually get the index of the item based on label/value and remove?

    Deleting item in JqxDropDowns #20474

    Dimitar
    Participant

    Hello kuberasamrat,

    There is no built-in jqxDropDownList method for item removal by label/value. However, you may use the method getItemByValue, which will return a number of different fields, one of which is the item’s index. You may then use that index to remove the item with the removeAt method.

    Best Regards,
    Dimitar

    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.