Datatables是一款jquery表格插件。它是一个高度灵活的工具。(占位后写)
1、DataTables的默认配置
$(document).ready(function() { $('#example').dataTable(); } );
示例:http://www.guoxk.com/html/DataTables/Zero-configuration.html
2、DataTables的一些基础属性配置
"bPaginate": true, //翻页功能 "bLengthChange": true, //改变每页显示数据数量 "bFilter": true, //过滤功能 "bSort": false, //排序功能 "bInfo": true,//页脚信息 "bAutoWidth": true//自动宽度
,
转载请注明原文地址: https://ju.6miu.com/read-1310806.html