Search code examples
javascripttemplatesmvvmkendo-uikendo-mobile

Kendo UI Mobile = data-template using dot notation for MVVM declarative bindings


I have since deleted my prior posts regarding this.

Is there a way I can use dot notation to access Kendo UI templates through a widget's data-template attribute? I know the attribute currently accepts an ID to a script tag which contains the template, but I would like to overload/overwrite its functionality to accept a variable source.

The reason for this is because my templates are not wrapped in script tags, but are html files that get brought in to my app using the requireJS lib.

Any help would be greatly appreciated.


Solution

  • No, there is no such way. Instead you have to specify the template imperatively through pure JavaScript.