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?
I also gave up on computing the label for a q-collapsible, which I suspect is the same problem, and so I’d like to know what you find out.
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
Did you try something like that:
To be specific, the problem was to use a reactive variable to compose the label and have it change.
Like the user can choose exactly the label for different language for a column?
It works like a charme! So logic! Inside of vue instance, reachable with
@maximilianfixl My pleasure Happy to help