Hi,
how can I change li background-color on item click to visualize that user has selected a row?
here is what i have:
...
<ul id="lvDatabases">
</ul>
...
<script type="text/x-kendo-tmpl" id="tmplDatabase">
<label >
<img style="float:left; padding-right: 0.5em" src="images/bullet.png" alt="bullet" />
${name}
</label>
</script>
$("#lvDatabases").kendoMobileListView({
dataSource: _dsDatabases,
template: kendo.template($("#tmplDatabase").html()),
style: "inset"
});
Kind regards
Axel
how can I change li background-color on item click to visualize that user has selected a row?
here is what i have:
...
<ul id="lvDatabases">
</ul>
...
<script type="text/x-kendo-tmpl" id="tmplDatabase">
<label >
<img style="float:left; padding-right: 0.5em" src="images/bullet.png" alt="bullet" />
${name}
</label>
</script>
$("#lvDatabases").kendoMobileListView({
dataSource: _dsDatabases,
template: kendo.template($("#tmplDatabase").html()),
style: "inset"
});
Kind regards
Axel