diff --git a/src/slick.grid.ts b/src/slick.grid.ts index e2b12a22..00e34769 100644 --- a/src/slick.grid.ts +++ b/src/slick.grid.ts @@ -4642,7 +4642,7 @@ export class SlickGrid = Column, O e this._canvasTopR.appendChild(xRight.firstChild as ChildNode); } } else { - if (this.rowsCache && this.rowsCache.hasOwnProperty(rows[i]) && xRight.firstChild) { + if (this.rowsCache && this.rowsCache.hasOwnProperty(rows[i]) && x.firstChild) { this.rowsCache[rows[i]].rowNode = [x.firstChild as HTMLElement]; this._canvasTopL.appendChild(x.firstChild as ChildNode); }