datatable利用ajax访问控制器的函数,利用post方法可以获得对应的数据。$post里包含start参数,代表数据表的起点。利用数据库搜索的时候 $this ->where($where)->limit(start,length)->select(); 限制一下返回的数据库内容。
bLengthChange: false, //去掉每页显示多少条数据方法
$post = input('post.');