Score
0
Watch 253 Star 472 Fork 258

稻米 / LigerUIJavaScript

Grid - pagesize更改后每次都从服务器取数据

Open
blazezhu  Opened this issue

无论设置dataAction 是否为 local,每次切换页数(pagesize)均会从服务器端取数据,更改方法:
v1.2.2版本,ligergrid.js第3591行处,工具条-切换每页记录数事件里:
增加判断语句:
if(p.dataAction!="local") g.loadData(p.where);
else g.loadData(false);

即可

total 1 participants

Comments (0)

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
JavaScript
1
https://gitee.com/ligerui/LigerUI.git
git@gitee.com:ligerui/LigerUI.git
ligerui
LigerUI
LigerUI

Search

231008 48f1a665 1899542 231017 9a6720c6 1899542