jquery - 数据表对齐行全宽
问题描述
我已经设置了一个引导数据表,但是我的搜索和分页输入没有像往常一样被拉到右边。你可以在这里看到这个:
你们能告诉我为什么以及如何导致此错误以及如何解决它吗?
这是我的桌子:
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js" type="text/javascript"></script>
<script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap.min.css">
<div id="client_overview_table_div" class="table-responsive">
<table class="table table-striped table-bordered" id="client_overview_table">
<thead>
<tr>
<th class="text-center"></th>
<th class="text-center"></th>
...
</tr>
</thead>
<tbody>
<tr class="item">
<td>..</td>
<td>..</td>
</tr>
</tbody>
</table>
</div>
解决方案
推荐阅读
- r - 错误:找不到以“^Package”开头的根“DESCRIPTION”文件
- elasticsearch - Elasticsearch 在重新索引所有记录时删除数组列表
- java - 使用媒体存储读取和写入文件
- dpdk - 正确的 DPDK 设备和端口初始化以进行传输
- azure - 使用二头肌创建 Azure 资源组
- java - 如何右键单击并保存图像?
- keycloak - 渲染登录页面时的自定义 Java 方法
- excel - 自动重新启动宏以每天运行一次
- .net - WPF - 调用 System.Windows.Forms.SendKeys.Send("{ESC}") 时出现问题
- javascript - 有没有办法摆脱将`this`绑定到`Component`函数的反应?