我希望我的网格在每列中都有工具提示,但是如果某列很大,则工具提示将在网格之外。 我尝试使用容器,但没有成功。
示例:http://jsfiddle.net/auznqjrh/,当您将鼠标悬停在“年龄”列上时,工具提示将位于网格外部
$.each($(".k-grid").find("tr:last-child th.k-header"),function () {
$this.tooltip({
title: $this.text(),animated: 'fade',placement: 'auto',container: 'body'
});
});