0

Grid.setPageSize() render time

asked 2020-11-19 16:54:54 +0800

softteam gravatar image softteam
120 8

Hi, I am working with a grid and I am using Grid.setPageSize() in order to show all data in a single page, we are setting 236 as page size and its render time is 4-5 seconds. It is normal? Is there any way to reduce this time?

Thank you!

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-12-01 17:49:12 +0800

cor3000 gravatar image cor3000
5920 2 7
ZK Team

"normal" is "relative", it depends highly on the number of columns in a row an of course the performance of all involved parts: client side browser, network connection, server side code, db query ...

I'd say 236 rows by themselves don't take that long, but before giving any tips you should locate the performance bottleneck.

Here a step by step guides outlining the necessary debugging/profiling steps.

https://www.zkoss.org/wiki/ZKDeveloper'sReference/PerformanceMonitoring/StepbyStepTrouble_Shooting

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2020-11-19 16:54:54 +0800

Seen: 7 times

Last updated: Dec 01 '20

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More