Opened 11 years ago

Closed 11 years ago

#7463 closed defect (fixed)

grid down_arrow handling

Reported by: maulin Owned by: Bryan Forbes
Priority: high Milestone: 1.2
Component: DojoX Grid Version: 1.1.1
Keywords: Cc:
Blocked By: Blocking:

Description

I think this is a remnant from previous grid implementation

Line 96 _Events.js:

if(!this.edit.isEditing() && this.store && this.focus.rowIndex+1 != this.store.count){

since this.store.count does not exist, this never fails, which mean down arrow causes "false" focus. i think with the new 1.2 implementation this should be

if(!this.edit.isEditing() && this.focus.rowIndex+1 != this.rowCount){

since DataGrid? keeps rowCount accurate.

Change History (1)

comment:1 Changed 11 years ago by Bryan Forbes

Resolution: fixed
Status: newclosed

(In [15001]) fixes #7463 !strict

  • Changed this.store.count to this.rowCount.
Note: See TracTickets for help on using tickets.