Open farzinmonsef opened 6 years ago
var toolTip = $('#grid').kendoTooltip({ filter: ".tooltip", beforeShow: function (e) { if ($(e.target).data("name") === null) { // don't show the tooltip if the name attribute contains null e.preventDefault(); } }, content: function (e) { var row = $(e.target).closest("tr"); var dataItem = grid.dataItem(row);
return "<div>Hi, this is a tool tip for id " + dataItem.Id + "! </div>";
}
}).data("kendoTooltip");
Kendo Grid Toolbar