First time here? Check out the FAQ!
I'm developing mostly in Java and the property listbox.pagingPosition is not in the Listbox class. How do I programmatically set this property. I search a long time.
Thanks in advance.
I figured it out:
Listbox rowsOfCardsContent = new Listbox() {
protected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer) throws java.io.IOException {
super.renderProperties(renderer);
render(renderer, "pagingPosition", "top");
}
};
Since some methods are inherited. Please check javadoc, you can find all methods including inherited.
https://www.zkoss.org/javadoc/latest/zk/org/zkoss/zul/Listbox.html
So you can call listbox.setPagingPosition()
instead of overriding renderProperties()
Asked: 2020-12-15 20:57:25 +0800
Seen: 6 times
Last updated: Dec 17 '20
Components below the fold are clickable when using modal window
Spring security login after server reload
ZK9 internationalization java.lang.IllegalStateException
Anybody know how add label inside menupopup grid?
How to change language from menupopup column of grid?
[Announcement] ZK 9.0.1 Freshly is ready for testing
How to close the Browser Window Tab using ZK framework? [closed]