flexigrid テーブルの列ヘッダーのホバーにツールチップを追加したいと考えています。ツールチップの内容が異なる別の列。
フレキシグリッドの URL : http://flexigrid.info/ GitHub の URL : https://github.com/paulopmx/Flexigrid
私はグーグルで同じことに関して何も得られませんでした。
flexigrid テーブルの列ヘッダーのホバーにツールチップを追加したいと考えています。ツールチップの内容が異なる別の列。
フレキシグリッドの URL : http://flexigrid.info/ GitHub の URL : https://github.com/paulopmx/Flexigrid
私はグーグルで同じことに関して何も得られませんでした。
これはうまくいきませんか?私が誤解していない限り.. http://api.jqueryui.com/tooltip/
jQuery リンクから:
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery- ui.css">
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
</head>
<body>
<p>
<a href="#" title="Anchor description">Anchor text</a>
<input title="Input help">
</p>
<script>
$( document ).tooltip();
</script>
</body>
jsFiddle: http://jsfiddle.net/jplahn/JnrBZ/
if( cm.title != undefined )
{
$(th).attr('title', cm.title);
}
私のために働いていますが、他の列ではなく、右上の列ヘッダーだけです。