First time here? Check out the FAQ!
Hi, I’m a beginner with ZK framework and I’m trying to add a search box with the result in a listbox like a combo box. I tried to use Combo box and band box, but I need to create (or update) the list of result AFTER the user wrote something and pressed on search button (or pressed ok).
I’m using MVC. Could you explain me how to do it? Thank you
Hello Fredp
I think your solution is just to use a bandbox and simply put a button and filter the listbox on the click of button as per the the search textbox, if you don't want to show the result of listbox on click of magnifing glass you can keep the listbox model as empty initially and fill it on action of search button only.
after event trigger on search button
http://books.zkoss.org/wiki/ZKComponentReference/Input/Bandbox
I hope it helps you
Harish
Asked: 2015-04-07 16:59:11 +0800
Seen: 39 times
Last updated: Apr 08 '15