0

Listbox disabled checkmark

asked 2014-11-25 14:21:53 +0800

ISINVESTMENT gravatar image ISINVESTMENT
1 1

Hello;

We are using 7.0.1 and we can't disable checkmarks on listbox.. listbox.setDisabled(true) did not work..

Is there any other way to disable checkmark?

Thanks

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-11-25 14:56:09 +0800

bkstorm gravatar image bkstorm
38 3

updated 2014-11-26 07:03:53 +0800

sjoshi gravatar image sjoshi flag of India
3493 1 8
http://zkframeworkhint.bl...

You must disable every listitem, not listbox. For example:

for(Listitem item : listbox.getItems()){<br>
item.setDisable(true);<br>
}
link publish delete flag offensive edit
0

answered 2014-11-30 17:49:35 +0800

Darksu gravatar image Darksu
1991 1 4

Hello ISINVESTMENT,

You could disable the checkmark as shown at the url below:

http://www.zkoss.org/zkdemo/listbox/multiple_selection

Or you could disable it using a ListitemRenderer as shown at the url below:

http://zkframeworkhint.blogspot.gr/2013/03/zk-itemrendered-with-listbox-example.html

In the example instead of using a Intbox use a Checkbox.

Best Regards,

Darksu

link publish delete flag offensive edit
Your answer
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
2 followers

RSS

Stats

Asked: 2014-11-25 14:21:53 +0800

Seen: 33 times

Last updated: Nov 30 '14

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