I would like to understand the difference between calling kendo.bind() and $('#foo').kendo<Widget>(). I have a jsfiddle at http://jsfiddle.net/sholder/yAujr/ which demonstrates what is confusing me. The call below to $('#listview')... does not produce the result I expect in that the nested template is not rendered. But if I call the kendo.bind() as below then I receive the expected result.
$('#listview').kendoListView({
dataSource:{data:viewModel.categories},
template: kendo.template($('#category-template').html())
});
kendo.bind($('#list'), viewModel)
So, what is kendo.bind doing that the call to kendoListView() does not?
Thanks,
Shane Holder
$('#listview').kendoListView({
dataSource:{data:viewModel.categories},
template: kendo.template($('#category-template').html())
});
kendo.bind($('#list'), viewModel)
So, what is kendo.bind doing that the call to kendoListView() does not?
Thanks,
Shane Holder