Skip to content

Wrong cursor when pReorderableColumn is disabled #19378

@Relictus2911

Description

@Relictus2911

Describe the bug

When reordering disabled for a column it still had cursor:move

Pull Request Link

#19377

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/1st7uj8o?file=src%2Fapp%2Ftable-reorder-demo.ts

Environment

Angular Version: 21
PrimeNG Version: 21
Browser: Chrome 144
Node Version: 22

Angular version

21

PrimeNG version

v21

Node version

No response

Browser(s)

Chrome 144

Steps to reproduce the behavior

  1. Create a table with reorderableColumns="true".
  2. Set pReorderableColumn [pReorderableColumnDisabled]="true" on any <th>
  3. Hover over <th> element

Expected behavior

When you hovering over <th> elemet with pReorderableColumn [pReorderableColumnDisabled]="true" cusror should be set to default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugIssue contains a bug related to a specific component. Something about the component is not working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions