所以我想添加一個類到我的錶行除了標題,但我不知道如何做到這一點。有人知道我能做到這一點嗎?添加一個類到動態引導錶行
這是我的表:
<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插件,你不覺得,信息peice的是解決有用嗎? – jidexl21