jQuery UI Widgets Forums Lists DropDownList Deleting item in JqxDropDowns

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

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


    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


    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,

    jQWidgets team

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

You must be logged in to reply to this topic.