未验证 提交 a3258e7d 编写于 作者: C catouse

* datagrid: fix error on call render manually

上级 1dd901f0
...@@ -513,7 +513,9 @@ ...@@ -513,7 +513,9 @@
that.pager = pager; that.pager = pager;
if (oldPager.page !== pager.page || oldPager.recTotal !== pager.recTotal || oldPager.recPerPage !== pager.recPerPage) { if (oldPager.page !== pager.page || oldPager.recTotal !== pager.recTotal || oldPager.recPerPage !== pager.recPerPage) {
that.scroll(0, 0); setTimeout(function(){
that.scroll(0, 0);
}, 200);
that.layout.cols = null; that.layout.cols = null;
} }
return that; return that;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册