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 - expansion row lag with large dataset #4840

Closed
omzy opened this issue Nov 17, 2023 · 1 comment
Closed

DataTable - expansion row lag with large dataset #4840

omzy opened this issue Nov 17, 2023 · 1 comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working

Comments

@omzy
Copy link

omzy commented Nov 17, 2023

Describe the bug

On a table with 500 rows (basic table, no additional features), it takes around 2 seconds to register a click on an expander button. See demo on the attached reproducer link.

I understand that lazy mode is suggested when using large data sets, but that is only really useful for pagination / filtering / sorting. For my use case I need to be able to render a large number of rows on one page.

The table itself renders at a reasonable speed but I am just experiencing a lag when using features such as the expansion row and the checkbox column. I have previously opened a discussion ticket for the checkbox column (https://github.com/orgs/primefaces/discussions/319).

Also, I have tried using Virtual Scroll but that was also producing a lag as soon as I try adding HTML / formatting inside the columns.

Reproducer

https://stackblitz.com/edit/prncz5-wzfzzf?file=src%2FTable.vue

PrimeVue version

3.40.1

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@omzy omzy added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 17, 2023
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 29, 2023
@mertsincan
Copy link
Member

Fixed for the next version. Please see details; #4977

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

3 participants