var n = this.cell && this.cell.getNode(this.rowIndex); if(n){ dojo.toggleClass(n, this.focusClass, inBork); if (inBork){ this.scrollIntoView(); try{ if(!this.grid.edit.isEditing()) dojox.grid.fire(n, "focus"); }catch(e){} } }