gridColumn title localized

1 Answer 74 Views
Grid Localization
Pino
Top achievements
Rank 1
Pino asked on 07 Dec 2022, 02:48 PM

Hi all, i have the attached grid, in the title of the second column i wanna put a translated text that i pass to the page via props, if i put that text variable in another item (as <h1/>) the text is rendered correctly, when i put it in column title it gave me the error '"Cannot read properties of undefined (reading '''strings')".

 

so how can i put a translated text via parent variable in a child component into GridColumn title?

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 09 Dec 2022, 12:32 PM

Hello, Pino,

I tested the described scenario and the passed string is rendered properly in the column title at my end. Can you take a look at my test sample in the link below and see whether it differs your actual setup somehow?

If comparing to it does not help to resolve the problem, please, modify the provided Stackblitz up to a point where the issue occurs and send it back to me for a further investigation.

Regards,
Vessy
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Grid Localization
Asked by
Pino
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or