Change text and icon for a table in loading state
-
I have a table where I sync data from my server. While the initial page loads and while changing page, a “loading slot” appears.
The default icon is a warning symbol, which I would like to change to a more appropriate icon.
My customer is from Sweden, so I would also like to change the text to Swedish.Update: I read the docs for the QTable API again and found the prop “loading-label”, but I would still like to change the icon
Does anyone knows if this is possible?
Any help is highly appreciated!
-
Put your icon to No Data Slot
https://quasar.dev/vue-components/table#No-data -
@jonas-bithap
Icon change will be available if that pull request succeeds. Stay tuned
https://github.com/quasarframework/quasar/pull/8279 -
@Ilia Beautiful!