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

DataTable: RowGroupMode rowspan does not work with virtual scroller #5651

Open
ces-tec opened this issue Apr 26, 2024 · 1 comment
Open

DataTable: RowGroupMode rowspan does not work with virtual scroller #5651

ces-tec opened this issue Apr 26, 2024 · 1 comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@ces-tec
Copy link

ces-tec commented Apr 26, 2024

Describe the bug

When creating a DataTable with rowGroupMode="rowspan" and a virtual scroller, only the first rows are grouped, after scrolling no other row is grouped.

Reproducer

https://stackblitz.com/edit/primevue-create-vue-issue-template-d27mhp?file=src%2FApp.vue

PrimeVue version

3.50.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

Simply scroll through the table and see the rows not being grouped by year, like they should because of groupRowsBy="year.

Expected behavior

If the rows have the same value passed to groupRowsBy, they should be grouped, even with virtual scroll.

@ces-tec ces-tec added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 26, 2024
@NaturesRadar
Copy link

Overall rowGroupMode and virtual scroller do not work together which is bad for performance and design. I have the same problem. I hope for a fast fix.

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

2 participants