使用laypage分页 能导出excel吗

2025-05-23 15:10:23
推荐回答(1个)
回答(1):

本文实例为大家分享了laypage前端分页插件,ajax异步分页,获取json数据实现无刷新分页,供大家参考,具体内容如下:
function GetList(pageIndex) {
var _this = ""
var clone_this = "";
_this = $(".BindDataList");//数据列表容器,
clone_this = _this.clone(true);
var pageSize = 25;//每页展示的条数
$.ajax({
type: "get",
async: false,//异步锁定,默认为true
url: "../ashx/System/DefaultAjax.ashx",//后端处理数据,返回json格式
data: {"pageIndex": pageIndex, "pageSize": pageSize, },