【发布时间】:2017-08-04 06:35:06
【问题描述】:
所以我想在我的表格行中添加一个类,除了标题,但我不知道该怎么做。有人知道我该怎么做吗?
这是我的桌子:
<table id="table" class="hidden table table-bordered table-striped table-hover">
<thead>
<tr>
<th data-field="variant">Variant</th>
<th data-field="description">Description</th>
</tr>
</thead>
</table>
这是我目前添加数据并希望将类添加到行的位置
$('#table').bootstrapTable({
data: returnValue
});
【问题讨论】:
-
你用的是bootstrapTable插件,你不觉得这些信息对解决有用吗?
标签: javascript jquery html twitter-bootstrap bootstrap-4