相关疑难解决方法(0)

Kendo UI Tooltip on show,访问目标?

通过将参数e传递给内容的匿名函数,可以访问目标.

gridToolTipz = $('#grid').kendoTooltip({ 
    filter: "td[role=gridcell]",
    content: function (e) {
            var target = e.target; // the element for which the tooltip is shown
            ...
    },
    show: function(e) {
            var target = e.target; // the element for which the tooltip is shown
            ...
    }
});
Run Code Online (Sandbox Code Playgroud)

是否有可能在展会上实现同样的目标?上面的代码不起作用.

jquery kendo-ui kendo-tooltip

3
推荐指数
1
解决办法
8024
查看次数

标签 统计

jquery ×1

kendo-tooltip ×1

kendo-ui ×1