Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TreeGrid throws unexpected double click event

    Hi,

    In a TreeGrid, if we click fast on two different nodes, a double click event is generated. An example is attached, based on the TreeGrid showcase.

    Shouldn't the double click only be emitted on two consecutive clicks on the same node ?

    Best regards,

    Yannick

    Browsers: All
    SmartClient Version: v8.3p_2013-06-03/PowerEdition Deployment (built 2013-06-03)
    War deployment, no development mode
    Attached Files

    #2
    Actually the doubleClick event is a standard event inherited from Canvas and will fire if you double-click anywhere within the TreeGrid. This is expected behavior.
    If you want per-row double-click, you can use the addRecordDoubleClickHandler(...) method (or for per-cell double click, the cell level equivalent)

    Comment


      #3
      Ok, I got it and now it's working as expected using the cell event.

      Thanks !!

      Comment

      Working...
      X