var items = [ { Id: 0, Title: "Manager" }, { Id: 1, Title: "Developer" }, { Id: 2, Title: "Vice President" } ];
$("#dropdownlist").kendoDropDownList({
dataSource: items,
dataTextField: "Title",
dataValueField: "Id"
});
Now i Want 0th item("Manager") non clickable.This item will be visible though.
Any Help?
#dropdownlist :first-child{
pointer-events: none;
}
_
element.onclick = function(event){
event.stopPropagation();
return false;
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.