Opened 11 years ago

Closed 11 years ago

#7717 closed enhancement (fixed)

Tree: Add DblClick support

Reported by: rdunklau Owned by: bill
Priority: high Milestone: 1.3
Component: Dijit Version: 1.2beta
Keywords: Tree DblClick double click events extension point Cc:
Blocked By: Blocking:

Description

Add a proper "onDblClick" extension point just like the "onClick" extension point. It seems many people already hack the Dijit Tree to perform such an operation, so it would be great to add this behavior to the tree.

Attachments (2)

TreeDblClick.patch (2.1 KB) - added by rdunklau 11 years ago.
test_Tree_dblclick.html (1.8 KB) - added by rdunklau 11 years ago.
Simple test case

Download all attachments as: .zip

Change History (6)

comment:1 Changed 11 years ago by bill

Milestone: tbd1.3
Owner: set to bill
Summary: [Tree] Add DblClick supportTree: Add DblClick support

I guess that makes sense.

Changed 11 years ago by rdunklau

Attachment: TreeDblClick.patch added

Changed 11 years ago by rdunklau

Attachment: test_Tree_dblclick.html added

Simple test case

comment:2 Changed 11 years ago by rdunklau

I attached a patch to provide DblClick? functionality to the tree, with a test case. It adds an user-overridable "onDblClick" method, and a "openOnDblClick" property

comment:3 Changed 11 years ago by bill

Status: newassigned

comment:4 Changed 11 years ago by bill

Resolution: fixed
Status: assignedclosed

Checked in by [15693], thanks for the patch!

Note: See TracTickets for help on using tickets.