gpt4 book ai didi

javascript - Bootstrap数据表搜索功能

转载 作者:行者123 更新时间:2023-12-03 06:13:40 24 4
gpt4 key购买 nike

我想在 Bootstrap 表上搜索多列值。有这方面的代码

例如;

https://datatables.net/examples/plug-ins/range_filtering.html

我想这样搜索,但找不到任何东西。我可以将数据输入发布到服务器上并编写有关 LIKE 的 SQL 查询。但它并没有具体说明。有相关例子吗?

祝你有美好的一天:)

我的页面截图 enter image description here

我的表格源代码

<div class="table-responsive " style="height: 400px; overflow-y: auto;">
<table id="tablo_icin2" class="table table-bordered table-hover table-striped">

<thead>
<tr>
<th>
<span class="btn btn-default btn-sm checkbox-toggle"><i class="fa fa-square-o"></i></span>
</th>
<th>User Name</th>
<th>Password</th>
</tr>
</thead>

<tr>
<td></th>
<td>Mark</th>
<td>123</th>
</tr>

</table>
</div>

最佳答案

您可以使用 bootgrid 作为 bootstrap 的插件。

enter image description here http://www.jquery-bootgrid.com/Examples

关于javascript - Bootstrap数据表搜索功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39204792/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com