I love the control and from visual perspective it provides me with exactly what I want (selecting multiple items, etc) but I don't see any documentation or tutorials explaining how to access a collection with the selected items or even determine which items are selected.
I thank you in advance for you help with such a basic question.
You should use select
method for getting the list of nodes selected.
Given the following initialization:
var list = $("#list").kendoListView({
dataSource: data,
template : "<li>${title}</li>",
selectable: "multiple"
}).data("kendoListView");
You can use:
var selected = list.select();
console.log("selected", selected);
Check the documentation about select
here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With