Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example of an issue in template category #4

Open
adriatic opened this issue Aug 6, 2017 · 0 comments
Open

Example of an issue in template category #4

adriatic opened this issue Aug 6, 2017 · 0 comments

Comments

@adriatic
Copy link
Member

adriatic commented Aug 6, 2017

Category

templates

Description of the problem

Aurelia's templating syntax is different from Kendo's own templating syntax. When we pass Aurelia templates to a Kendo control, Kendo will try and parse that template as if it's a Kendo template, causing in errors: http://dojo.telerik.com/oNOGe

Cause

Kendo's own templating system is always active

Solution

A property that we can set while initializing widgets, or a property on the kendo global that disables Kendo's own templating system entirely. Currently we pass templates as function callbacks (template: () => '${myAureliaTemplate') to the Kendo controls which disables Kendo's templating system for that one specific template. This is something Telerik built in for Handlebars support, but it feels like a hack.

It also prevents users from serializing the grid to JSON since functions are not serializable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant