Can I attach a row-template to a detail-template?
<
script
id
=
"templateSubGrid"
type
=
"text/x-kendo-template"
>
<
h4
>ciao ciao </
h4
>
<
div
id
=
"Subgrid"
data-role
=
"grid"
data-row-template
=
"rowTemplate"
data-bind
=
"source: Grid.source"
data-columns="[
{ 'field': 'documenti','title':' documentiName'},
{ 'field': 'documenti','title':'documentiSurname'},
{ 'field': 'documenti','title':'documentiAge'},
{ 'field': 'documenti','title':'documentiIsEmpty'}
]">
</
div
>
</
script
>
<
script
id
=
"rowTemplate"
type
=
"text/x-kendo-template"
>
#for(var i = 0; i <
data.length
; i++){ #
<tr>
<
td
>
<
span
>ciao</
span
>
</
td
>
<
td
>
<
span
>ciao</
span
>
</
td
>
<
td
>
<
span
>ciao</
span
>
</
td
>
<
td
>
<
span
>ciao</
span
>
</
td
>
</
tr
>
#}#
</
script
>