Hello,
I am struggling with declarative setting grid column to a external template
Here's my template
and here's the grid declaration
And here's JS Fiddle reproducing my problem
http://jsfiddle.net/malovicn/bSGdW/8/
Anyone knowing how to fix that JS fiddle? :)
I am struggling with declarative setting grid column to a external template
Here's my template
<
script
type
=
"text/x-kendo-template"
id
=
"someTemplate"
>
<
div
>
<
label
> ${firstName}</
label
>
<
label
>${lastName}</
label
>
</
div
>
</
script
>
<
div
data-role
=
"grid"
data-bind
=
"source: people"
data-columns='[
{"field": "firstName",
"title": "Full Name",
"template": "kendo.template($("#someTemplate"))"
}
]'></
div
>
http://jsfiddle.net/malovicn/bSGdW/8/
Anyone knowing how to fix that JS fiddle? :)