I’m using the vue-i18n library to get diffrent lauguages in .vue and I need to use it as column title in Quasar data-table.
I treid to use it thruogh a variable, but it doesnt work for me.
Any suggestions or experience for this case?

Best posts made by maximilianfixl
-
How to use $t('message.hello') from vue-i18n as title in q-data-tabe?
-
RE: How to use $t('message.hello') from vue-i18n as title in q-data-tabe?
@kenium
It works like a charme! So logic! Inside of vue instance, reachable withthis
thx
Latest posts made by maximilianfixl
-
RE: q-uploader issue
@Fernando2684 did you found a solution or the issue? I have the same problem. Would be nice to know…
-
RE: Sort datatable by number
That’s what I tryed as well. But it has no effect. I go ahead! Will let you know, if I figured it out.
-
RE: Sort datatable by number
What makes it different than my code? That column sort’s
ASC
by id and not the other way round. I need to sort it from 999 on the top to 1 on the bottom. I was looking for theDESCENDING
way. -
Sort datatable by number
How can I sort q-datatable by default?
For example I need to sort the ID column byDESC
.
I tryed to use thesort(a, b)
method, but not successful.I tryed to use in columns array
... { label: 'ID', field: 'id', width: '4%', filter: true, sort (a, b) { return (a - b); }, type: 'number' }, ...
Any ideas how to solve or explain it to me?
-
RE: How to use $t('message.hello') from vue-i18n as title in q-data-tabe?
@kenium
It works like a charme! So logic! Inside of vue instance, reachable withthis
thx -
RE: How to use $t('message.hello') from vue-i18n as title in q-data-tabe?
I’m not smarter then before! Could’nt figured it out, how to manage it! If you’ll find an solution, please tell me you’r way… thx
-
How to use $t('message.hello') from vue-i18n as title in q-data-tabe?
I’m using the vue-i18n library to get diffrent lauguages in .vue and I need to use it as column title in Quasar data-table.
I treid to use it thruogh a variable, but it doesnt work for me.
Any suggestions or experience for this case? -
RE: ~~Do not upgrade to Vue 2.4.x (yet)~~ Edit: Safe to upgrade
Update vue to 2.4.4 and it will be fixed. So I my case it is fixed.
https://github.com/vuejs/vue/releases