var cache = this.cache[inRowIndex]; if(cache){ var data = this.getRow(inRowIndex); if(!dojox.grid.arrayCompare(cache, data)){ this.update(cache, data, inRowIndex); } delete this.cache[inRowIndex]; }