我正在尝试使用datatable插件进行ajax分页。它加载第一组数据,但分页不起作用。谁能给我一个很好的例子数据表ajax分页。我还需要知道如何设置要显示的行数。
在进阶时谢谢。
发布于 2014-06-20 20:16:15
您需要创建一个AJAX端点(数据库将从此处填充表)。
以下JSON数据应来自数据表。
iTotalRecords – Number of total records in the table, before applying the filters.
iTotalDisplayRecords – Number of records returned after applying the filters.
sEcho – An un-altered copy of the sEcho sent from the client.
aaData – Array of data from the server. https://stackoverflow.com/questions/24326988
复制相似问题