0

How to add headerkey and header value in Combobox used in zk5 EE

asked 2011-01-12 04:25:37 +0800

yaryan997 gravatar image yaryan997
210 2

Any one please help me to get out of this problem..

I am developing a web application in that I need to select item from the combobox.

Combobox will display all the value from the database ..

Based on the selection made by the client the query executes and give the output.

I am able to get all values from the database but I need to add one another value on top of all values that i get from database.

I need to add "All" at that place.

So if user make selection of all . the query related to that will executes.

plz help me to get out of the problem..
Thanx in advance.

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2011-02-09 05:32:37 +0800

yaryan997 gravatar image yaryan997
210 2

hi...
@PeterKuo

thanks for your reply but.. i am not able to solve my problem still
actually the link you had given to me doesn't work.

so if possible can you help with to solve this problem.

thanks .

link publish delete flag offensive edit

answered 2011-01-27 22:36:24 +0800

PeterKuo gravatar image PeterKuo
481 2

You can use setModel() and renderer to fulfill your requirement.
You can refer to
http://books.zkoss.org/wiki/ZK_Developer's_Guide/ZK_in_Depth/Live_Data,_Paging,_setModel_and_Implement_your_own_renderer/Examples

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

Follow

RSS

Stats

Asked: 2011-01-12 04:25:37 +0800

Seen: 330 times

Last updated: Feb 09 '11

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