Sta*_*ful 10 html css jquery tablesorter twitter-bootstrap
<div class="table-responsive">
<table class="table table-hover gradienttable">
<thead>
<tr>
<th>Id</th>
<th>State</th>
<th>Sub State</th>
<th>Title</th>
<th>Severity</th>
<th>InstanceNum</th>
<th>CreatedBy</th>
</tr>
</thead>
<tbody>
@foreach (var incident in Model.GetActiveIncidents())
{
<tr>
<td><a target="_blank" href=@incident.Url>@incident.Id</a></td>
<td>@incident.State</td>
<td>@incident.SubState</td>
<td>@incident.Title</td>
<td>@incident.Severity</td>
<td>@incident.InstanceNum</td>
<td>@incident.CreatedBy</td>
</tr>
}
</tbody>
</table>
</div>
Run Code Online (Sandbox Code Playgroud)
上面的代码是我将数据填充到表中的方式
如何为twitter bootstrap 3.1.1版本启用此表排序.我在stackoverflow上提到了一个问题并尝试使用它没有工作我怎样才能使表能够使用twitter bootstrap进行排序
有什么建议吗?