【发布时间】:2019-03-25 14:35:31
【问题描述】:
我正在尝试一个非常简单的带有标题属性的 jquery bootgrid 表,以使标题在滚动时保持粘性。
<table id="grid" class="table table-condensed table-hover table-striped">
<thead>
<tr>
<th caption="ID" data-column-id="id" data-type="numeric"></th>
<th caption="Sender" data-column-id="sender"></th>
<th caption="Received" data-column-id="received" data-order="desc"></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
数据绑定后呈现的表格如下图,数据绑定正常。
<table id="grid" class="table table-condensed table-hover table-striped">
<thead>
<tr>
<th data-column-id="id" data-type="numeric"></th>
<th data-column-id="sender"></th>
<th data-column-id="received" data-order="desc"></th>
</tr>
</thead>
<tbody>data rows goes here.
</tbody>
</table>
任何建议,我如何告诉 jquery-bootgrid,停止删除标题属性?
非常感谢。
【问题讨论】:
标签: jquery-bootgrid