From 9b8a129d75b123555e59849aca0bc476ed015848 Mon Sep 17 00:00:00 2001 From: "Lisa Flinn (She/Her)" Date: Thu, 30 May 2024 09:59:15 +0100 Subject: [PATCH] change class to style --- src/app/components/table/table.css | 4 ---- src/app/components/table/table.ts | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/app/components/table/table.css b/src/app/components/table/table.css index 2b4dbfddc33..a3820e16ce3 100755 --- a/src/app/components/table/table.css +++ b/src/app/components/table/table.css @@ -156,10 +156,6 @@ [pReorderableColumn] { cursor: move; } - - .p-reorder-column-disabled { - cursor: default; - } /* Loader */ .p-datatable .p-datatable-loading-overlay { diff --git a/src/app/components/table/table.ts b/src/app/components/table/table.ts index b1b1ef8d187..b85b2165bc9 100644 --- a/src/app/components/table/table.ts +++ b/src/app/components/table/table.ts @@ -4026,7 +4026,7 @@ export class ResizableColumn implements AfterViewInit, OnDestroy { selector: '[pReorderableColumn]', host: { class: 'p-element', - '[class.p-reorder-column-disabled]': '!isEnabled()' + '[style.cursor]': 'isEnabled() ? "move" : "default"' } }) export class ReorderableColumn implements AfterViewInit, OnDestroy {