-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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
You must disable every listitem, not listbox. For example:
for(Listitem item : listbox.getItems()){<br>
item.setDisable(true);<br>
}
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
Asked: 2014-11-25 14:21:53 +0800
Seen: 33 times
Last updated: Nov 30 '14