$(document).ready(
function
() {
$(
"#listView"
).kendoListView({
dataBound:
function
(e) {
var
listView = $(
"#listview"
);
if
(!listView) {
alert(
"listView null"
);
return
;
}
var
listData = listView.data(
"kendoListView"
);
if
(!listData) {
alert(
"listData null"
);
return
;
}
}
});
Thanks,
David
EDIT: I'm sorry, it was my mistake. I should have typed "listView" instead of "listview". After this change, I can access .data() from the dataBound() event handler.