-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a simple code like this
<listbox nonselectableTags="checkbox">
<listitem self="@{each=i}"onClick='showView(event);'>
<listcell><checkbox/></listcell>
The problem is in the first column i have a checkbox inside a listcell and the listbox responds the onClick method to show a different view i would like to when onClick the checkbox do not fire the onClick on this listbox this problem can be avoid using a doubleClick instead of the single click but there is another approach?.
Sorry if this question is simple but i couldn't find a solution
A quick solution could be (cause onCheck is first triggered):
http://zkfiddle.org/sample/hvn2q0/3-zk-oncheck-vs-onclick
Greetz Chill.
Asked: 2015-11-19 13:44:21 +0800
Seen: 28 times
Last updated: Nov 20 '15
wrong valueException come in front of modal popup [closed]
Use parameters in a conditional @command
Problems with multiple press and onCtrlKey
MVVM @save on the fly [closed]
Unable to activate destroyed desktop
org.zkoss.zk.ui.UiException: java.lang.ClassNotFoundException
How to put a image or Letter over image on a specific XY Coordinate
http://zkfiddle.org/sample/hvn2q0/2-zk-oncheck-vs-onclick I don't see the problem here. Can you change the fiddle to your problem?
chillworld ( 2015-11-19 14:06:00 +0800 )editworks ok with 7.0.61 or 8.0.0 but i have 6.5.2 try using 6.5.2 please.. you can see the problem
javiut ( 2015-11-19 14:24:08 +0800 )edit