Skip to content

Commit

Permalink
Merge pull request primefaces#15667 from RogueTea/reorder-column-curs…
Browse files Browse the repository at this point in the history
…or-disable

Table: Reorderable column false still gives cursor move
  • Loading branch information
cetincakiroglu authored May 30, 2024
2 parents f2468bc + 9b8a129 commit e2dc779
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/components/table/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@

[pReorderableColumn] {
cursor: move;
}
}

/* Loader */
.p-datatable .p-datatable-loading-overlay {
Expand Down
3 changes: 2 additions & 1 deletion src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4025,7 +4025,8 @@ export class ResizableColumn implements AfterViewInit, OnDestroy {
@Directive({
selector: '[pReorderableColumn]',
host: {
class: 'p-element'
class: 'p-element',
'[style.cursor]': 'isEnabled() ? "move" : "default"'
}
})
export class ReorderableColumn implements AfterViewInit, OnDestroy {
Expand Down

0 comments on commit e2dc779

Please sign in to comment.