We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TreeTable with lazy loaded data. Clicking on the column headers changes the sort icon, but not the order of displayed rows.
Example was made by only adding sortable to the column definition of the lazy load from documentation.
sortable
https://stackblitz.com/edit/7mwdun?file=src%2FApp.vue
3.51.0
3.x
ES6
Vite
No response
Row order does change depending on data.
The text was updated successfully, but these errors were encountered:
Seems to be same for the DataTable component, Is there a workaround for this problem? Which version was the last known working version?
Sorry, something went wrong.
3.52.0 - sort with lazy load does not work.
I've tried to use @sort="onSort($event)". Sort works but when one clicks sort on column on page other then first, paginator set current page to 1.
UPDATE: looks like in my case current page is set to 0 because of emit 'update:first' with 0 as payload in onColumnHeaderClick function.
Why is it necessary to reset page on sorting page dataset?
UPDATE2: even if manually emit('update:first') with real page on behalf of datatable or any other component, current page will not setting back.
No branches or pull requests
Describe the bug
TreeTable with lazy loaded data.
Clicking on the column headers changes the sort icon, but not the order of displayed rows.
Example was made by only adding
sortable
to the column definition of the lazy load from documentation.Reproducer
https://stackblitz.com/edit/7mwdun?file=src%2FApp.vue
PrimeVue version
3.51.0
Vue version
3.x
Language
ES6
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Row order does change depending on data.
The text was updated successfully, but these errors were encountered: