Hello,
is there a way to localize column headers, so when I change language they refresh (something like the translate pipe)? I have tried using a template, but they have to change in the filtering and the column selection, too.
Thanks
Hello Luca,
Thank you for getting back to me!
I have updated the provided sample so that the columns are defined within the typescript file.
Please take a look at it and let me know if you need any further assistance.
Best Regards, Martin Evtimov Associate Software Developer Infragistics, Inc.
would it be possible to define the columns in the typescript?
I have many grids in my application and I can't define them in the html code.
Thank you for contacting Infragistics Community!
I believe you will find the following sample I have prepared for you very helpful. As you can observe I translate the column headers using a custom translate pipe and the translation is applied not only within the column headers but within the filtering and the other features as well. You can test this on your own via changing the language to DE.
If this sample is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me for further investigation.
Looking forward to hearing from you.