var cache = this.cache[inRowIndex]; if(cache){ this.setRow(cache, inRowIndex); delete this.cache[inRowIndex]; }