Ho to re-render a q-markup-table #11218
Unanswered
CynthiaBlue
asked this question in
CLI - PWA mode
Replies: 2 comments 3 replies
-
be sure |
Beta Was this translation helpful? Give feedback.
1 reply
-
Why would you want to re-render? Is your data scope changing or not? If it is, that's the point with Vue -- it takes care of any necessary updates. But regardless, the answer above this post is correct. |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
I am using a q-markup-table that I need to have auto-reload when a button is pressed when something is added to the IndexedDB table via Dexie.
I've been trying the methods in this tutorial:
https://michaelnthiessen.com/force-re-render/
but using the key-changing method isn't re-rendering my q-markup-table.
Maybe I'm not sure where to put the :key inside the table tags.
I currently have the key inside the q-markup-table tag:
<q-markup-table flat bordered :separator="separator" :key="componentKey">
But do I need in the tr or td tag?
or does the method not work with a q-markup-table?
I've tried wrapping the q-markup-table in a div but that's not working either.
<div :key="componentKey">
I may or may not change this into a q-table. I've been having problems getting the data into the q-table so I'm working with the markup table for now.
Beta Was this translation helpful? Give feedback.
All reactions