Render and Cache"
m |
m |
||
Line 14: | Line 14: | ||
===Max Rendered Cell Size=== | ===Max Rendered Cell Size=== | ||
− | ZK Spreadsheet load cell data and also prune invisible cells when user scroll down/up. The default setting is 8000, means client side will prune cells only when total cell number is more then 8000. | + | ZK Spreadsheet load cell data and also prune invisible cells when user scroll down/up. The default setting is 8000, means client side will prune cells only when total cell number is more then 8000. Set by <javadoc directory="zss" method="setMaxRenderedCellSize">org.zkoss.zss.ui.Spreadsheet</javadoc> |
+ | |||
Ideality, if browser could support, no prune cell would provide best response effect, since all loaded cell no need to re-create. However, browser has limitation, if loaded cell number is outnumber then browser could support, browser will act slow and become unstable. | Ideality, if browser could support, no prune cell would provide best response effect, since all loaded cell no need to re-create. However, browser has limitation, if loaded cell number is outnumber then browser could support, browser will act slow and become unstable. | ||
===Preload Size=== | ===Preload Size=== | ||
+ | Preload Size | ||
===ZUML=== | ===ZUML=== |
Revision as of 06:57, 5 April 2012
Purpose
ZK Spreadsheet provide various setting
Client Cache
Use client cache will improve performance when user switch between sheet.
ZK Spreadsheet enable cache by default. To disable cache, use Spreadsheet.setClientCacheDisabled
Max Rendered Cell Size
ZK Spreadsheet load cell data and also prune invisible cells when user scroll down/up. The default setting is 8000, means client side will prune cells only when total cell number is more then 8000. Set by Spreadsheet.setMaxRenderedCellSize
Ideality, if browser could support, no prune cell would provide best response effect, since all loaded cell no need to re-create. However, browser has limitation, if loaded cell number is outnumber then browser could support, browser will act slow and become unstable.
Preload Size
Preload Size
ZUML
Composer
Version History
Version | Date | Content |
---|---|---|
2.3.0 | April, 2012 | Client cache/Max Rendered Cell Size |
All source code listed in this book is at Github.