Hi Pratura,
Thank you for contacting Syncfusion forums.
The “Cleartext” method clears only the Selected text in the DropDownList and will not trigger the change event. if you need to remove the selected text and trigger the change event, we suggest you to use the selectedIndex property. Set the selectedIndex property to -1 to remove the selected item. Refer to the following code.
|
function clearDropdown() {
var ddlobj = $("#dropDown").data("ejDropDownList");
ddlobj.setModel({ selectedIndex: -1 });
};
|
Regards,
Prince