0

Listbox sorting with live data

asked 2014-01-27 18:19:31 +0800

Vimm gravatar image Vimm
1 1

I'm trying to do Listbox sorting and filtering with live data in ZK7. In the ZK Component reference it states...

If you allow users to sort a listbox with live data, you have to implement the interface, org.zkoss.zul.ListModelExt, in addition to the org.zkoss.zul.ListModel.

books.zkoss.org/wiki/ZK%20Component%20Reference/Data/Listbox#SortingwithLive_Data

This information seems dated since I can't find ListModelExt in the API reference and when I reference the class it's deprecated. What's the proper way to do live data sorting in ZK 7?

delete flag offensive retag edit

Comments

The ListModelExt is replaced with org.zkoss.zul.ext.Sortable since 6.0.0. This demo contains a model which implements Sortable.

RaymondChao ( 2014-01-28 02:26:08 +0800 )edit
Be the first one to answer this question!
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: 2014-01-27 18:19:31 +0800

Seen: 15 times

Last updated: Jan 27 '14

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