-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello, I have a problem with the specification of setSelectedItem (combobox). I found this note:
Note: if the label of comboitem has the same more than one, the first comboitem will be selected at client side, it is a limitation of Combobox and it is different from Listbox.
I have same more than one in my combobox, but they are different in description and I don't want to select always the first one. I want to select the right one. is there a zk solution for my problem?
Or use an listbox as in this implementation (so like you said won't have that limitation):
Asked: 2014-03-11 09:47:26 +0800
Seen: 22 times
Last updated: Mar 12 '14
composite component help [closed]
EL in a forEach @command not working?
Different template for each grid row
Cardlayout animation is broken
Grid RowRender slow using 6.5.1 and sizable=true
setVisible(false), component will load or not
Decimalbox and doublebox value rounded on iPad
history management with page status
where is your problem?????????????
sitansu ( 2014-03-11 13:25:32 +0800 )editYou can select CBX Items via setSelectedIndex(index).
IngoB ( 2014-03-12 07:49:23 +0800 )editHello IngoB, i will try it. Thanks
salbader ( 2014-03-12 08:45:12 +0800 )edit