DblClick event firing on expand/collapse of TreeNode

  1. #1

    DblClick event firing on expand/collapse of TreeNode

    If you expand and collapse a TreeNode in succession, it triggers the DblClick event. I don't think this should be the case as the DblClick even should only fire when double clicking on an actual node. The problem this apparent bug creates is that when clicking only on the expand/collapse button, it doesn't select the node, but this bug is allowing the DblClick to act as if you're on a node, when in fact, you are not. Is there anyway to prevent DblClick from firing when clicking only on the expand/collapse button? I can't really wait until the next version for this so a temporary fix would be appreciated.
  2. #2

    RE: DblClick event firing on expand/collapse of TreeNode

    I think this has more to do with how the browser determines what is a "double-click". The nodes would just be subscribing to the browsers double-click event on the elements.

    Geoffrey McGill
    Founder
  3. #3

    RE: DblClick event firing on expand/collapse of TreeNode

    But I think the point is that the node button should not even provide for a double-click event as there would be no practical application. Only the node text should have a double-click event. Isn't this possible for you to implement? The current behavior is not good because if you have a legitimate need for responding to a double-click event on the node text, like popping up another screen, you don't want that to happen if the user is simply expanding or collapsing the node.

Similar Threads

  1. Replies: 1
    Last Post: Mar 07, 2012, 8:39 PM
  2. Replies: 3
    Last Post: Aug 11, 2011, 11:07 AM
  3. [CLOSED] Gridpanel GroupingView Expand/Collapse Event
    By deejayns in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 16, 2011, 9:37 AM
  4. [CLOSED] TreeNode DblClick with checkbox
    By ashton.lamont in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Oct 22, 2009, 3:51 AM
  5. [CLOSED] Collapse - Expand Panels?
    By MrMp3 in forum 1.x Help
    Replies: 12
    Last Post: Sep 15, 2008, 10:58 AM

Posting Permissions