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: first prop is not properly reflected on the paginator when lazy is true #3735

Closed

Conversation

web-swpl
Copy link

Make the paginator (and everything else) directly use d_first instead of 0 when the data table has the lazy prop set to true. This fixes a number of pagination-related issues (mostly synchronization issues) when dealing with data coming from an (optionally paginated) API.

Fixes #2253
Fixes #2783

@vercel
Copy link

vercel bot commented Mar 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated
primevue ⬜️ Ignored (Inspect) Mar 10, 2023 at 3:19PM (UTC)

@tugcekucukoglu
Copy link
Member

Thanks for your contribution. But this fix will break another functionality. Please check #1905

If you have another solution. We will gladly check it.

@web-swpl
Copy link
Author

Now also fixes #1905

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants