This is a migrated thread and some comments may be shown as answers.

Typescript config: target ES6 - broken controls/datasource

2 Answers 116 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Software
Top achievements
Rank 1
Veteran
Software asked on 03 Feb 2021, 10:34 AM

After changing the tsconfig.json file to 'target: ES6' our code successfully compiles and runs without errors in the browser.

However, the chart control and the grid control does not display the data from the datasource anymore.

We had a look at the HTML code and the rows for the grid control are created but the data is missing. During debugging we ensured that the read function of our data source delivers the data.

The controls are displayed with the given config. Additionally the specified column names are also not displayed. These also use kendo templates for inserting data.

BR

2 Answers, 1 is accepted

Sort by
0
Software
Top achievements
Rank 1
Veteran
answered on 04 Feb 2021, 01:16 PM
We are using KendoUI version 2020.2.617
0
Aleksandar
Telerik team
answered on 05 Feb 2021, 09:57 AM

Hello,

There is a known issue when using TypeScript 3.9 where in some scenarios, the Kendo observable is missing properties. I am not entirely sure that this is the case in your scenario, as the details provided do not indicate the TypeScript version you use, but you can review the above-mentioned issue for additional details here:

https://github.com/telerik/kendo-ui-core/issues/5973

Note a fix for it was released with Kendo UI v2020.3.1021 so if that is the case I can suggest considering an update to v2020.3.1021 or a later one. 

If the above is not helpful I will appreciate it if you can share a sample where I can observe the behavior reported. This way I can provide a better suggestion on how to handle the issue.

Regards,
Aleksandar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
Software
Top achievements
Rank 1
Veteran
Answers by
Software
Top achievements
Rank 1
Veteran
Aleksandar
Telerik team
Share this question
or