-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I know I can disable right click from selecting an item in a listbox across the entire application by applying the following to the zk.xml, but what if I only want to apply the behavior to a particular listbox on a page? (The rest of them I want the right click selection behavior to remain the default.)
Only want this on a particular page, not global:
<library-property>
<name>org.zkoss.zul.listbox.rightSelect</name>
<value>false</value>
</library-property>
try this :
<custom-attributes org.zkoss.zul.listbox.rightSelect="false"/>
This should work the tag where you insert it and all children.
If you need to enable it again In a child, just put it back in that child with property true.
Chill.
Asked: 2015-10-08 15:15:44 +0800
Seen: 30 times
Last updated: Oct 08 '15