【发布时间】:2014-03-07 22:57:49
【问题描述】:
可能相关的问题:jquery tablesorter add title/tooltip to show ascending/descending
以下是我尝试过的 HTML:
<table class="tablesorter" id="table1">
<thead>
<tr>
<th title="this is title for the header" data-title="I want this to be title for the filter">Column1</th>
<th title="this is title for the header" data-title="I want this to be title for the filter">Column2</th>
</tr>
</thead>
<tbody>
<tr><td>1</td><td>2</td></tr>
<tr><td>3</td><td>4</td></tr>
</tbody>
</table>
还有 JS:
$('#table1').tablesorter({
theme : 'ice',
cssInfoBlock : 'tablesorter-no-sort',
widgets: ['zebra', 'stickyHeaders', 'filter']
});
标题部分有效。我不知道的是过滤器文本框上的鼠标悬停文本。我不想手动拦截这些事件。
【问题讨论】:
标签: jquery filter tablesorter