I want to be able to disbale the sort temporily #18186
Unanswered
melvinbethel
asked this question in
Ideas / Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In QTable, I want to be able to suspend sorting during data mutations so the visible row order stays stable during edit.
Problem
Rows keep jumping around whilst editing.
What I tried
Clearing or toggling pagination.sortBy / pagination.descending per the docs.
Result: the table still reorders during mutations. Sort function gets called multiple times. Apparently, too many reactive propperties.
Workaround I used
Custom column sort function + a “suspend” flag to neutralize comparisons.
Request
A built-in way to pause and resume sorting (e.g., a prop or API) so edits don’t reorder the table and user is able to copy and paste similar values into multiple rows.
Docs reference: https://quasar.dev/vue-components/table/
Beta Was this translation helpful? Give feedback.
All reactions