A special search box

asked 2015-04-07 16:59:11 +0800

fredp gravatar image fredp flag of France
1 1

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

delete flag offensive retag edit

1 Reply

Sort by » oldest newest

answered 2015-04-08 01:53:17 +0800

echarish gravatar image echarish flag of Japan
1809 7

updated 2015-04-08 01:54:03 +0800

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.

image description

after event trigger on search button

image description


I hope it helps you


link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2015-04-07 16:59:11 +0800

Seen: 45 times

Last updated: Apr 08 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More