AdminLTE-master很好用的分页查询排序模版,配置如下文所示
来源:互联网 发布:淘宝卖家如何上传视频 编辑:程序博客网 时间:2024/05/21 22:15
<link rel="stylesheet" href="{{ asset('/AdminLTE-master/plugins/datatables/dataTables.bootstrap.css') }}"><link rel="stylesheet" href="{{ asset('/AdminLTE-master/bootstrap/css/bootstrap.css') }}">
<table id="data1" class="table table-bordered table-hover col-md-8"> <thead> <tr> <th>ID</th> <th>城市</th> <th>空间</th> <th>预约日期</th> <th>姓名</th> <th>电话</th> <th>提交时间</th> <th>状态</th> </tr> </thead> <tbody> @foreach($data as $each) <tr> <td><a href="{{ asset('backstage/appointment_info_') }}{{$each->id}}" target="view_window">{{$each->id}}</a></td> <td>{{$each->city}}</td> <td>{{$each->space}}</td> <td>{{$each->visting_time}}</td> <td>{{$each->name}}</td> <td>{{$each->phone}}</td> <td>{{$each->created_at}}</td> <td> <input value="{{$each->state}}" id="no{{$each->id}}"> </td> </tr> @endforeach </tbody></table>
{{--page--}}<script src="{{ asset('/AdminLTE-master/plugins/datatables/jquery.dataTables.min.js')}}"></script><script src="{{ asset('/AdminLTE-master/plugins/datatables/dataTables.bootstrap.min.js')}}"></script><script src="{{ asset('/AdminLTE-master/plugins/slimScroll/jquery.slimscroll.min.js')}}"></script><script src="{{ asset('/AdminLTE-master/plugins/fastclick/fastclick.js')}}"></script><script src="{{ asset('/AdminLTE-master/dist/js/app.min.js')}}"></script><script src="{{ asset('/AdminLTE-master/dist/js/demo.js')}}"></script><script> var table; // 翻页,排序,搜索 $(function () { table = $('#data1').DataTable({ "paging": true, "lengthChange": false, "searching": true, "ordering": true, "info": false, "autoWidth": false, }); }); function city(city){ table.column( 1 ).search( city ).draw(); } function state(state){ table.column( 3 ).search( state ).draw(); }</script>*table.column( 1 ).search( city ).draw();*列的搜索
0 0
- AdminLTE-master很好用的分页查询排序模版,配置如下文所示
- 分页查询的排序问题
- 分页的存储过程,很好用的。
- 一个很好用的存储过程分页
- 一个很好用的分页函数!
- 很好用的jquery表格分页插件
- 一个很好用的分页控件
- 一个很好用的php分页类
- 很好的分页实例
- 分页查询所需要使用到的泛型类
- oracle分页查询的排序问题
- 超强的分页查询、排序示例代码
- oracle分页排序的SQL查询方法
- 如题所示
- 一个很好用的归并排序
- 数据库分页查询+排序
- 分页查询,并且排序
- lucene 查询+分页+排序
- http 几种请求方法的差别
- 安卓中软件盘的监听显示与隐藏
- 超详细JSON解析步骤
- ceshi2
- java设计模式之策略模式
- AdminLTE-master很好用的分页查询排序模版,配置如下文所示
- 如何生成ssh key
- svn log 命令不能显示全部log的解决方法
- 字节数int, long, double
- OutOfMemoryError异常实战
- Android Material-Design-Login 项目列子
- 哈哈,我的博客开通了
- wpa_supplicant和udhcpc测试
- c#开发windows服务