Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component: Table - Sorting does not work when grouping rows #16408

Open
RichardReedge opened this issue Sep 19, 2024 · 0 comments
Open

Component: Table - Sorting does not work when grouping rows #16408

RichardReedge opened this issue Sep 19, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@RichardReedge
Copy link

Describe the bug

This has been reported before and was fixed:
#13773

But the issue still exists.

When you add sortField to the table in combination with groupRowsBy, the table is not sorted by the field.

Environment

Reproducer

https://stackblitz.com/edit/lwfasm-cqsegc

Angular version

18.2.5

PrimeNG version

17.18.10

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.20.3

Browser(s)

No response

Steps to reproduce the behavior

View the reproducer, the table rendered has both a sortField and a groupRowsBy attribute.

Expected behavior

Table is sorted by the Sort Order column.

@RichardReedge RichardReedge added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant