0

OnClick event triggered for a column re-size

asked 2010-04-27 15:05:41 +0800

jasonphos gravatar image jasonphos
66 1 1 1

I'm using ZK 3.6.3. This does not happen in FireFox (At least not nearly as much), but it does happen in IE 8 and Safari.

I have a <tree>, which contains a <treecols> and several <treecol> See the code snippet below.

If a user resizes the column by making the column bigger, then the on-click event is not triggered. However, if they resize the column and make the column smaller, it triggers the on-click event. My users don't like this behavior, and would prefer that when a resize occurs, no on-click event be triggered.

Is there a way I can achieve this? Let me know if you need any more info!

<tree id="ordersListTree" width="99%" height="95%" fixedLayout="true"
action="onselectstart:return false; onmousedown: return false"
style="background:#ffffff;" vflex="true"
tooltiptext="blah.">
<treecols sizable="true">
<treecol label="CDs" width="40%">
<attribute name="onClick" >
{
object.setSort("cds");
}
</attribute>

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2010-04-28 20:47:11 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi jasonphos
This a bug
I have posted it here
We will trace it

link publish delete flag offensive edit

answered 2010-04-29 06:18:26 +0800

jasonphos gravatar image jasonphos
66 1 1 1

Thank you Jimmy, I appreciate it.

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: 2010-04-27 15:05:41 +0800

Seen: 344 times

Last updated: Apr 29 '10

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