Setting template as part of the constructor of a ListView works fine:
this.list = new kendo.ui.ListView(listdiv.get(0), {
dataSource: this.dataSource,
selectable: true,
template: "<div>#:label#</div>"
} );
However, changing or setting the template after the creation of the ListView does not update/set the view:
this.list.options.template = '<div>xxxx #:label#</div>';
How can I force the list to use an updated/new template?
this.list = new kendo.ui.ListView(listdiv.get(0), {
dataSource: this.dataSource,
selectable: true,
template: "<div>#:label#</div>"
} );
However, changing or setting the template after the creation of the ListView does not update/set the view:
this.list.options.template = '<div>xxxx #:label#</div>';
How can I force the list to use an updated/new template?