Opened 9 years ago
Last modified 6 years ago
#17375 reopened defect
[patch] [no cla?] Dojo 1.9.1 EnhancedGrid Click & RIght-Click on Header invokes splitter.
Reported by: | brijeshamin | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.15 |
Component: | DojoX Grid | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Steps:
- Open a page which contains EnhancedGrid? with headers.
- Click on any column header.
- Notice that column splitter gets invoked.
- The same problem is observed with Right-click too.
This behavior creates problems with the column reordering feature.
Attachments (1)
Change History (10)
comment:2 Changed 9 years ago by
#17130 details the underlying issue. Removing the workaround in createView in the enhanced grid seems to resolve the sorting issue.
Changed 9 years ago by
Attachment: | column_reorder.diff added |
---|
comment:3 Changed 9 years ago by
The attached file column_reorder.diff provides a patch.
Subsequent sorts after the initial sorting of the table sometimes invoke the column resizer without this patch. It depends on exactly where the user clicks in the cell heading though. This only happens in Firefox. This can be seen in test case provided.
Thanks to craign for developing this fix.
comment:4 Changed 8 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | new → closed |
DojoX Grid and EnhancedGrid? are deprecated in favor of dgrid and gridx.
You should upgrade your code to use one of those two grids.
We will consider patches to the old DojoX Grid code though.
comment:6 Changed 8 years ago by
Resolution: | patchwelcome |
---|---|
Status: | closed → reopened |
Summary: | Dojo 1.9.1 EnhancedGrid Click & RIght-Click on Header invokes splitter. → [patch] [no cla?] Dojo 1.9.1 EnhancedGrid Click & RIght-Click on Header invokes splitter. |
Ah right. Well, I'll reopen the ticket but I can't guarantee that anyone will actually apply the patch.
Two questions though:
- The patch is just removing a bunch of code from EnhancedGrid?.js. Does that really fix the problem without causing other issues?
- Who is "mwp" and has he filed a CLA? I don't see one for him.
comment:7 Changed 8 years ago by
Regarding 1. I think this code was added to override getCellX in some specific circumstances in Firefox that don't seem to exist anymore.
Regarding 2, Yes, I believe Michael Paddon (mwp) has signed the CLA.
comment:8 Changed 6 years ago by
Milestone: | tbd → 1.12 |
---|
To get any progress on this, I suggest an updated pull request, as the patch is fairly old. If you want to do that, I'll review and land it.
comment:9 Changed 6 years ago by
Milestone: | 1.13 → 1.15 |
---|
Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.
This seems to be related to #17086. It only effects FF.
The sorting works if you manage to click outside the mouse over highlight.