0

How to get UnSelectedListItem from GroupModel?

asked 2015-02-09 18:08:33 +0800

sjoshi gravatar image sjoshi flag of India
3493 1 8
http://zkframeworkhint.bl...

As i read it is very simple to get unselectedItem from ModelList as described here

Select

Can somone please tell me how i can get unselected item from GroupModel as i have extend org.zkoss.zul.AbstractGroupsModel to implement my GroupModel class.

I am able to get selectditem but how i can get unselecteditem ?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-02-10 09:16:10 +0800

Darksu gravatar image Darksu
1991 1 4

Hello sjoshi,

Most probably the solution would be to create a method where you would cross check all the items of the model with the selected items.

Thus the items that are not in the selected list could be added to a new list and be treated as the unselected items.

Best Regards,

Darksu

link publish delete flag offensive edit

Comments

Thanks i have done wit initializing selected item every item onSelect clicked

sjoshi ( 2015-02-10 10:53:09 +0800 )edit
Your answer
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: 2015-02-09 18:08:33 +0800

Seen: 8 times

Last updated: Feb 10 '15

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