Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
If we use the Kendo UI template expressions demo as a starting point, you have three options: 1. Return the desired output directly as plain HTML 2. Return the desired output as a string instead of returning a data field value
<
script
id
=
"javascriptTemplate"
type
"text/x-kendo-template"
>
ul
# for (var i = 0; i <
data.length
; i++) { #
# if (data[i] != "Second") { #
<li>#= data[i] #</
li
# } else { #
> 1234567
#= "random string" #
</
# } #
# var myArray = ([1, 2, 3]).join("") #
#= myArray #