我有一个Kendo Treelist,现在我想在其上添加自定义上下文菜单(右键菜单)。我尝试过的事情:
$(document).ready(function() {
$("#menu").kendoContextMenu({
// listen to right-clicks on treelist container
target: "#treelist",
// show when node text is clicked
filter: "tr",
// handle item clicks
});
});