Hi,
Is there any example available which shows how to use a custom editor template with angular?
The thing which is unclear is if I should use ng-model binding in the template and create an angular template or to use # expressions for a kendo template.
Since the editor template is not directly supported with template directives (http://docs.telerik.com/kendo-ui/AngularJS/introduction#template-directives) I thought this way might be a solution:
Good idea or bad idea?
Please push me in the right direction!
thx, Chris
Is there any example available which shows how to use a custom editor template with angular?
The thing which is unclear is if I should use ng-model binding in the template and create an angular template or to use # expressions for a kendo template.
Since the editor template is not directly supported with template directives (http://docs.telerik.com/kendo-ui/AngularJS/introduction#template-directives) I thought this way might be a solution:
$scope.schedulerOptions = {
[...]
"editable"
: {
"template"
: kendo.template(jQuery(
'#editor-template'
).html()) },
[...]
}
Good idea or bad idea?
Please push me in the right direction!
thx, Chris