I have a kendo window with the content property set to an object as follows:
The template is defined as follows:
The window opens but the declarative grid widget isn't initialized. Is there a need to call kendo.init() explicitly after the template is created? If so, I'm not sure how to inject the applicable code.
Thanks,
Gary
content: {
url:
"/api/agent/genealogyupline?agentNumber="
+ agentNumber,
dataType:
"json"
,
template: kendo.template($(
"#genealogy-upline-template"
).html())
}
<
script
type
=
"text/x-kendo-template"
id
=
"genealogy-upline-template"
>
<
div
data-role
=
"grid"
data-columns
=
'["Level", "AgentName", "Status"]'
data-bind
=
"source: data"
></
div
>
</
script
>
Thanks,
Gary