All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Hello Steve,
The syntax is as follows:
- The markup:
<kendo-treelist-column :field="'Position'" :width="140" :template="colorTemplate"></kendo-treelist-column>
- The template handler:
new Vue({ el: "#vueapp", data: { colorTemplate: "# if (Position == 'CEO') { # <span class='not-valid'> #= Position # </span> # } else { # #= Position # # } #", localData: [] // data } })
I have prepared a small StackBlitz demo demonstrating the above. Please examine it and let me know if you have any questions.
Regards, Nikolay Progress Telerik