-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Good morning, we have a problem in our application with a blink in the listbox.
The case is as follows: We have an auto-pagination listbox.
Each page shows n rows (the size of the list is adjusted to that of the window). When there are n + 1 rows in the list, the application enters a loop like that: 1.- it generates the pagination. 2.- it sees that there is only 1 element on page 2 3.- it tries to put it on page 1 eliminating the pagination 4.- it does not fit, it generates the pagination again
Any ideas on how to remove said loop?
Our version of ZK is 8.05.
All the best.
Usually that kind of feedback loop happens when autopaging is enabled AND the listitems have a varying height.
So your listitems all need the same height - otherwise there is no way to calculate the number of pages required (if there were it would mean to prerender all rows, which is in direct contradiction to paging).
If you still encounter this kind of loop, with a static height for each row please provide a reproducing example here or contact our support if you can't share the code in public.
Asked: 2021-09-27 16:01:20 +0800
Seen: 4 times
Last updated: Sep 28 '21
[Announcement] ZK 8.5.1 is now available!
Highlight new release changes/new features in demo app
How can I make a button change its image by clicking on the same button?
Problems calling function 'sec:isAnyGranted' with zkspring 3.2 and Spring Security 4
webapp folder of ZK spring boot?
Can I set in runtime a new value to library property: org.zkoss.zk.ui.processMask.enabled:
Package ZK Eclipse Tomcat Project For Deployment
AImage org.zkoss.zk.ui.UiException: java.io.FileNotFoundException