大家好,
             我正在使用 kendo ui 工具提示来显示字段的内容。它工作正常,但问题在于网格的自定义命令。我只显示自定义命令的图标(如编辑或删除按钮),没有任何文本。如果我想在鼠标悬停在其显示空框的按钮上显示图标代表什么。任何帮助如何克服此问题并在工具提示中显示文本。
command: [{ 
    name: "e", 
    text: "", 
    title: "Update User Details", 
    Class: "test", 
    imageClass: "k-icon k-i-pencil", 
    click: EditUserInfo 
}, { 
    name: "destroy", 
    text: "", 
    title: "", 
    imageClass: "k-icon k-delete" 
}]
工具提示代码:
$(document).kendoTooltip({
            filter: 'span',
            content: function (e) {                   
                var target = e.target; // the element for which the tooltip is shown
                return target.text(); // set the element text as content of the tooltip
            },
            width: 160,               
            position: "top"
        }).data("kendoTooltip");