Hi
I have a view model with some repeating properties that I need to render using the same template.
I specified the template, and bound the viewModel properties using source binding and data-template attribute.
It works well, but according to the kendoUI documentation, pre-compiling and reusing of the template makes sense when it should be rendered several times.
Is there any way to use the advantage of pre-compiled templates along with mvvm (For example, data-template attribute could accept not only the id of the template DOM element, but also model's function name)?
Thanks!
I have a view model with some repeating properties that I need to render using the same template.
I specified the template, and bound the viewModel properties using source binding and data-template attribute.
It works well, but according to the kendoUI documentation, pre-compiling and reusing of the template makes sense when it should be rendered several times.
Is there any way to use the advantage of pre-compiled templates along with mvvm (For example, data-template attribute could accept not only the id of the template DOM element, but also model's function name)?
Thanks!