#10492 closed defect (fixed)
EnhancedGrid: dnd, can't target row > row#9
Reported by: | bn61 | Owned by: | evan |
---|---|---|---|
Priority: | high | Milestone: | 1.5 |
Component: | DojoX Grid | Version: | 1.4.0 |
Keywords: | Cc: | David Schwartz | |
Blocked By: | Blocking: |
Description (last modified by )
When dragging a grid row the target doesn't move further than row#9. If I drag below that point, the targetDIV stays at row#9 and when I drop it, the row is moved to the end of the grid.
This appears in my app: dijitToolbar + dojox.enhancedGrid inside layout.ContentPane associated with layout.TabContainer
programaticly created
runs as part of a php-application
problem seems to be a faulty comparison between string and number in dojo/dojox/grid/enhanced/dnd/_DndMovingManager.js
for(i in rowBarNodes){ ++rowCount; if(i > bottomRowIndex){ bottomRowIndex = i; } }
I applied a quick fix in my app to:
for(i in rowBarNodes){ ++rowCount; if(parseInt(i,10) > bottomRowIndex){ bottomRowIndex = parseInt(i,10); } }
Change History (7)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Cc: | David Schwartz added |
---|---|
Owner: | changed from Nathan Toone to Evan |
Summary: | dojox enhancedGrid dnd, can't target row > row#9 → EnhancedGrid: dnd, can't target row > row#9 |
comment:3 Changed 11 years ago by
Description: | modified (diff) |
---|
comment:5 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 Changed 11 years ago by
Milestone: | tbd → 1.5 |
---|
comment:7 Changed 10 years ago by
Owner: | changed from Evan to evan |
---|
Note: See
TracTickets for help on using
tickets.
Addition:
name of the function: moveRowBorder