From b96acdcd5a0e449f72e5f586f265a33b877c4ad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20FINDIKLI?= Date: Mon, 13 Dec 2021 10:13:43 +0300 Subject: [PATCH] Fixed #10960 - Table | Frozen Columns not working when created partial dynamically --- src/app/components/table/table.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/table/table.ts b/src/app/components/table/table.ts index 9fc56def967..483d1f2acfd 100755 --- a/src/app/components/table/table.ts +++ b/src/app/components/table/table.ts @@ -2655,7 +2655,7 @@ export class FrozenColumn implements AfterViewInit { let left = 0; let prev = this.el.nativeElement.previousElementSibling; if (prev) { - left = DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left); + left = DomHandler.getOuterWidth(prev) + (parseFloat(prev.style.left) || 0); } this.el.nativeElement.style.left = left + 'px'; }