Let's say I have two row templates, normal and urgent, and which template is to be applied to the row will depend on the value in the row's {status} field. How and where would the desired template be applied to the row such that when the user groups the grid, the template will travel with the row?
<
script
id
=
"urgentRowTemplate"
type
=
"text/x-kendo-tmpl"
>
<
tr
class
=
"urgent"
>
<
td
> ${name} </
td
>
<
td
> ${reasonForCall} </
td
>
<
td
> ${status} </
td
>
</
tr
>
</
script
>
<
script
id
=
"normalRowTemplate"
type
=
"text/x-kendo-tmpl"
>
<
tr
class
=
"normal"
>
<
td
> ${name} </
td
>
<
td
> ${reasonForCall} </
td
>
<
td
> ${status} </
td
>
</
tr
>
</
script
>