简体   繁体   English

记录超过1000条时,智能gwt网格分组不起作用

[英]Smart gwt grid grouping doesn't work when records are over 1000

Smart gwt grid grouping doesn't work when records are over 1000. Below 1000 grouping works fine. 当记录超过1000条时,智能gwt网格分组将不起作用。1000条以下的分组很好。 It's a multi-field grouping. 这是一个多领域分组。

Any idea why's that happening? 知道为什么会这样吗?

Have you used method setGroupByMaxRecords(int groupByMaxRecords) on your grid? 您是否在网格上使用了setGroupByMaxRecords(int groupByMaxRecords)方法? It's default value is 1000 so i belive that might be the cause of your problem. 它的默认值是1000,所以我相信这可能是您遇到问题的原因。 Try setting it for a number bigger than 1000, for example: 尝试将其设置为大于1000的数字,例如:

ListGrid.setGroupByMaxRecords(2500);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM