Hi,
i am new to KendoUI. So its maybe a stupid question :). But i don't find a solution.
I create remote datasource and bind it to a Listview with a template element. Like in our examples:
The Template looks like this:
It works and everything is fine. But now i need an unbound column which contains an image link. Something like:
I don't know, can i call a javascript function in this template? Or is it possible to create a new field in the datasource?
Cu
Georg
i am new to KendoUI. So its maybe a stupid question :). But i don't find a solution.
I create remote datasource and bind it to a Listview with a template element. Like in our examples:
$("#openServiceCallsListView").kendoMobileListView({
dataSource: remoteDataSource,
template: kendo.template($("#myRowTemplate").html())
});The Template looks like this:
<script type="text/x-kendo-tmpl" id="myRowTemplate">
<div>${field1} ${field2} ${field3}</div>
</script>It works and everything is fine. But now i need an unbound column which contains an image link. Something like:
"http://localhost/service/GetPicture?Model=" + encodeURIComponent(${field1} + "&Type=" + encodeURIComponent(${field2})I don't know, can i call a javascript function in this template? Or is it possible to create a new field in the datasource?
Cu
Georg