Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
When I create a grid with 1000 rows, it lasts at least one minute the display the complete grid.
Is there something to tune the performance of grid?
Attached a zul page and 2 java classes to reproduce the problem.
The zul page
The Window class
The Value object class
Here is a link that reproduces the problem :
move grid.setHeight("300px"); to refresh
sets your zk.xml like below
turn on the rod of the grid
You can refer to below link
"load on demand" feature only exists in ZK EE
You can use "paging" if you are use ZK CE/PE
confirm as a bug. Original rod works with pure zul page only.
The given test code has issue, too.
1. refresh() new an Grid without height so rod will not work. (Details please see Grid's javadoc)
2. Shall setRowRenderer before setModel or the newest renderer is not used in rendering. (Detail please see Grid's javadoc)
Same issue in Listbox rod mode
Fixed since Aug. 24, 2010.