Opened 8 years ago

Closed 8 years ago

#13441 closed defect (fixed)

_FocusManager.js blurHeader() _colHeadNode , node is null

Reported by: Herman Vierendeels Owned by: Evan
Priority: lowest Milestone: 1.7
Component: DojoX Grid Version: 1.6.0
Keywords: Cc:
Blocked By: Blocking:

Description

when doing:

dojo.connect(datagrid,"onKeyPress",function(evnt) { .... this.selection.getSelected() contains items!! "node is null"-error does not occur when this.selection is empty!! ..... this.store.newItem(item); this.sort(); /*during last statement i get;"node is null" in dojo.removeClass()*/ .... });

stack at error 'node is null' dojo.removeClass()

_FocusManager.blurHeader() dojo.removeClass(this._colHeadNode, this.focusClass); !!!but this._colHeadNode==null

_FocusManager._delayedCellFocus()

simpleFetch._fetchHandler()

...

ev. solution: in _delayedCellFocus() this.blurHeader(); if (this._colHeadNode){this.blurHeader();

like already done in: setFocusCell()

if (this._colHeadNode){this.blurHeader();

Change History (2)

comment:1 Changed 8 years ago by Evan

Owner: changed from evan to Evan

comment:2 Changed 8 years ago by Evan

Milestone: tbd1.7
Resolution: fixed
Status: newclosed

Already fixed by [25141]

Note: See TracTickets for help on using tickets.