We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Is it possible to warn the user, when the disable items in the DropDownList are selected


We can able to show the “warning” message, when the disabled items in the DropDownList is hovered. This can be achieved by adding the additional span tag to the “li” elements of the DropDownList in the client side event called “create”.


  1. Render the DropDownList as follows





  1. Upon clicking to the Disable button, certain element in the DropDownList will be disabled.





  1. In the “create” event of DropDownList, we have appended the span element to the all items (li element) in the DropDownList.




  1. When hover to the disable items in the popup wrapper, the warning icon will be shown.



  1. In this example, we have used “font icon” for the warning message. Apply the following CSS






Article ID: Published Date: Last Revised Date: Platform: Control:
7051 08/09/2016 08/10/2016 JavaScript ejDropDownList
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon