From 33b90c4f29fd6355e4e0752fe9e065978691c820 Mon Sep 17 00:00:00 2001 From: ghiscoding Date: Tue, 24 Oct 2023 20:19:16 -0400 Subject: [PATCH] chore: use proper object ref --- src/slick.grid.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }