Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#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 Adam Peller)

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){
  if(i > bottomRowIndex){ bottomRowIndex = i; }

I applied a quick fix in my app to:

for(i in rowBarNodes){
  if(parseInt(i,10) > bottomRowIndex){ bottomRowIndex = parseInt(i,10); }

Change History (7)

comment:1 Changed 9 years ago by bn61


name of the function: moveRowBorder

comment:2 Changed 9 years ago by Adam Peller

Cc: David Schwartz added
Owner: changed from Nathan Toone to Evan
Summary: dojox enhancedGrid dnd, can't target row > row#9EnhancedGrid: dnd, can't target row > row#9

comment:3 Changed 9 years ago by Adam Peller

Description: modified (diff)

comment:4 Changed 9 years ago by evan

fixed by 21665

comment:5 Changed 9 years ago by Adam Peller

Resolution: fixed
Status: newclosed

comment:6 Changed 9 years ago by Adam Peller

Milestone: tbd1.5

comment:7 Changed 8 years ago by bill

Owner: changed from Evan to evan
Note: See TracTickets for help on using tickets.