Opened 9 years ago
Closed 8 years ago
#14171 closed defect (patchwelcome)
dijit.Menu with leftClickToOpen does not open on a grid
Reported by: | jlmagc | Owned by: | Evan |
---|---|---|---|
Priority: | blocker | Milestone: | tbd |
Component: | DojoX Grid | Version: | 1.6.1 |
Keywords: | EnhancedGrid menu leftClickToOpen | Cc: | |
Blocked By: | Blocking: |
Description
dijit.Menu has an option called leftClickToOpen that enables it to be opened upon a left click, instead of upon a right click. When used as a rowMenu on a EnhancedGrid?, it works fine with Dojo 1.5.1, but it does not work when using a later version (so far I've tried 1.6.1 and 1.7.0)
Attachments (2)
Change History (7)
Changed 9 years ago by
Attachment: | test-grid-with left-click-menu-1.6.1.html added |
---|
Changed 9 years ago by
Attachment: | test-grid-with left-click-menu-1.5.1.html added |
---|
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Component: | Dijit → DojoX Grid |
---|---|
Owner: | set to Evan |
comment:4 Changed 8 years ago by
comment:5 Changed 8 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Well, after some research, the problem started on http://bugs.dojotoolkit.org/changeset/23810/dojo/dojox/trunk/grid/enhanced/plugins/Menu.js. Part of the change overwrites the method _scheduleOpen on the Menu with a function that does nothing:
That causes that the scheduleOpen of the menu does not work, and as a consequence the menu is not shown. I don't know exactly the implications, but it seems that the condition should be changed to
Avoiding this issue. It works for me, but somebody with more experiencia should take a deeper look to this issue.