-
FEATURED COMPONENTS
First time here? Check out the FAQ!
setSelectedIndex of Listbox doesn't work in doAfterCompse method
See ZK Fiddle.
zkfiddle.org/sample/ukaib4/23-listbox-select-issue#source-1
When working with a ListModel you have to set the selection on the ListModelList instance:
http://zkfiddle.org/sample/ukaib4/24-listbox-select-issue#source-2
Also adding removing new items need to be done through the model. Don't change the component state when using a model controlling that state.
I hope this helps.
Robert
Asked: 2017-07-23 22:04:46 +0800
Seen: 13 times
Last updated: Jul 24 '17
ZK Listbox Selectitems issue with Set
How to stop a bug from a listbox?
Cannot Change Listbox Header color & Background
Keyboard navigation in listbox
Can not display data in listbox
listbox with nonSelectabletags inplace new listitem
Input invoice using inline listbox
Change color to hover listitem listbox zk7 + Atlantic Theme
Listbox with autopaging causes constant row flickering
zk listbox getItems() returns null for item.getValue() if not scrolled fully