I am trying to set a listview selectable, but that gives me an error.
My code:
This gives me the following in firebug:
TypeError: n.ui.Selectable is not a constructor
If I omit selectable, the listview will initialize correctly, but will of course not have selectable items.
My code:
var lv = $('#lwTest');
lv.kendoListView(
{
selectable: "single",
template: "<
li
><
span
class
=
'email'
>${email}</
span
> <
span
style
=
'font-size: 80%; font-weight: bold'
>${role}</
span
></
li
>",
dataSource: the_items
});
This gives me the following in firebug:
TypeError: n.ui.Selectable is not a constructor
If I omit selectable, the listview will initialize correctly, but will of course not have selectable items.