Hi Telerik folk,
Once upon a time, I stumbled upon on an undocumented "feature" - Kendo Grid template take javascript function as value. e.g:
{
// taking function as value
template:
function
(data) {
return
"Name: "
+ data.name;
},
// string template
template:
"Name: #: name#"
,
}
I vaguely remember reading somewhere (in this forum?) there is a performance different between passing a function to template option vs passing string version. Can you confirm that? If so, how (is it memory usage? CPU? rendering time?) and why? We are finding this "template function" to be very convenient and want to use it more, but want to know if and what price we pay for it.
Thanks you.