0

Events from Grid row not working on iOS devices

asked 2011-06-22 03:29:27 +0800

okli gravatar image okli
93

I have registered EventListener to each row in my grid - on "normal" platforms everything works fine, but on iphone4 browser nothing happens if I touch the row. Is this a known issue and is there any workaround for it or am I doing something wrong?

The listener is registered for onClick events:

row.addEventListener(Events.ON_CLICK, new EventListener() {...});

Thanks

delete flag offensive retag edit

11 Replies

Sort by » oldest newest

answered 2011-06-23 06:16:10 +0800

matthewgo gravatar image matthewgo
375

I guess it causes by iOS spec , because they dont support every dom event

link publish delete flag offensive edit

answered 2011-06-23 09:52:19 +0800

okli gravatar image okli
93

According to Apple's developers guide onclick events are supported and they even recommend to add dummy onclick handler...

link publish delete flag offensive edit

answered 2011-06-23 09:59:17 +0800

zippy gravatar image zippy
504 2

updated 2011-06-23 09:59:38 +0800

i have the same issue, with a context , but in the zk live demo works.ç


alias

link publish delete flag offensive edit

answered 2011-06-24 02:01:12 +0800

matthewgo gravatar image matthewgo
375

Hi
about context , iOS doesn't support right click

link publish delete flag offensive edit

answered 2011-06-24 12:28:13 +0800

okli gravatar image okli
93

So, should onclick in grid row work or not - I think this very simple question to be answered by ZK dev team

link publish delete flag offensive edit

answered 2011-06-28 01:00:46 +0800

matthewgo gravatar image matthewgo
375

It's a bug
please follow this thread bug

link publish delete flag offensive edit

answered 2011-07-11 05:16:28 +0800

tsm80 gravatar image tsm80
25 1

updated 2011-07-11 05:17:11 +0800

I confirm, I have the same problem: onClick event on a row from a grid is not supported on iOS devices.

link publish delete flag offensive edit

answered 2011-07-11 17:58:06 +0800

zippy gravatar image zippy
504 2

file download has the same problem in IOS, not working

link publish delete flag offensive edit

answered 2011-07-12 09:13:27 +0800

okli gravatar image okli
93

matthewgo, thanks for point to the bug report! Let's hope it will be fix in the next release...

link publish delete flag offensive edit

answered 2011-07-12 22:58:58 +0800

matthewgo gravatar image matthewgo
375

updated 2011-07-12 23:01:42 +0800

Hi~
Please specify the following style into grid :

style="cursor:pointer"

Please refer to the updated thread

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2011-06-22 03:29:27 +0800

Seen: 652 times

Last updated: Jul 14 '11

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