Revision history [back]

click to hide/show revision 1
initial version

answered 2020-03-26 10:51:21 +0800

hawk gravatar image hawk

http://hawkphoenix.blogsp... ZK Team

Currently, there is no MVVM way to scroll a listitem into a view. please call the method: https://www.zkoss.org/javadoc/latest/zk/org/zkoss/zul/Listbox.html#scrollToIndex-int-

Currently, there is no MVVM way to scroll a listitem into a view. please call the method: https://www.zkoss.org/javadoc/latest/zk/org/zkoss/zul/Listbox.html#scrollToIndex-int-

If you want to keep your ViewModel clean without referencing a component, you can apply a composer to handle such a scrolling logic separately.

Currently, there is no MVVM way to scroll a listitem into a view. please call the method: https://www.zkoss.org/javadoc/latest/zk/org/zkoss/zul/Listbox.html#scrollToIndex-int-

If you want to keep your ViewModel clean without referencing a component, you can apply a composer to the listbox to handle such a scrolling logic separately.

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