-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello,
let's say i have listbox o persons with attribute "id". Now I write id for example 7 into textbox. Can some1 help me how could i get listitem(person with id 7) from listbox so I can change its style (highlight it)?
Thx in advance.
Hello demizon,
A nice approach would be to use a renderer as shown at the following url:
http://zkfiddle.org/sample/1t9kc1e/5-Listbox-Render-on-Demand#source-2
At the renderer class you can add a conditional statement in order to specify the id you want to change the styling.
Best Regards,
Darksu
Asked: 2015-03-10 09:17:31 +0800
Seen: 15 times
Last updated: Mar 10 '15