-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a Listbox with multiple set to false. How do I deselect a selected listitem?
Shift right click and Cntrl right click is not deselecting the listitem.
James
James,
Why not just catch the right-click event from the listbox component and deselect everything? Consider the following:
<zk> <listbox multiple="false"> <attribute name="onRightClick"> self.setSelectedItemApi(null) </attribute> <listitem label="AAAA"/> <listitem label="BBBB"/> <listitem label="CCCC"/> </listbox> </zk>
Hopefully that helps.
Regards,
Todd
Asked: 2010-12-30 10:18:10 +0800
Seen: 375 times
Last updated: Dec 30 '10