First time here? Check out the FAQ!
I have in a listbox 2 combobox, the list data of second combobox depend on what i select on first and on every row of listbox, the second combobox has its own listmodel.
What is the best approach
Thank's and sorry for my bad English
Normally I would suggest creating a ListModel in the VM to bind with a combobox.
In this case, we should use the autoboxing of ZK to make it ourself a little easier.(as selecteditem is in the listmodel)
In this fiddle you see an example of dependend comboboxes : http://zkfiddle.org/sample/33nfnf1/1-MVVM-dependent-comboboxes
I hope you can make some idea's with it, otherwise leave some comment.
Chill.
Asked: 2016-10-15 15:03:28 +0800
Seen: 24 times
Last updated: Oct 18 '16
ZK drang and drop and databinding [closed]
Create Crud of a User that has a collection of books
Create a Zk session variable with a menu
Getting selected ListBox values on button Click | ZK
Problem binding values to a composite component
How to access static member field of a class in zul without zscript