I've implemented a DropDownList in a custom editor for a Grid column as follows.
$("#control").kendoGrid({
dataSource: controlDs,
editable: true,
saveChanges: function (e) {
if (!confirm("Are you sure you wish to save changes?")) {
e.preventDefault();
}
},
toolbar: ["save","cancel"],
sortable: true,
columns: [
{
title: "Artifacts",
headerAttributes: {
style: "font-size: 10pt; font-weight: 600; text-align: center;"
},
columns: [
{
field: "family",
editor: customDropDownEditor,
headerAttributes: {
style: "font-size: 10pt; font-weight: 600;"
},
title: "Family",
width: 120
},
{
field: "artifact",
editable: function (dataItem) {
return false;
},
headerAttributes: {
style: "font-size: 10pt; font-weight: 600;"
},
title: "Artifact",
template: '<a href="#=artifact#" target="_blank">#=title#</a>'
}
]
}
]
});
function customDropDownEditor(container, options) {
$('<input required name="' + options.field + '"/>')
.appendTo(container)
.kendoDropDownList({
autoBind: false,
dataSource: ["one", "two", "three", "four"]
});
}
This works perfectly. Now, how do I attach a ToolTip widget to the items in this DropDownList?
Thanks in advance.