Data table with column order that the user can customize #17393
-
I'm using Vuetify version 2.5.8. I have a data table whose column order is customizable per user and persists from session to session. The column order for each user is stored in the back end and retrieved through an API call. When the user opens the page with the data table in it, I make an asynchronous call to that API to get the column order for that user. When that asynchronous call returns, what's the best way to tell the data table the headers have been updated? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It turns out the answer was simply to assign a new value to the variable that's bound to the table's headers. I don't know why that didn't work in my initial attempts. |
Beta Was this translation helpful? Give feedback.
It turns out the answer was simply to assign a new value to the variable that's bound to the table's headers. I don't know why that didn't work in my initial attempts.