Hi:
I am updating after initial rendering. I am manually modifying the datasource data as follows:
I expected the refresh after the data assignment to render the ListView widget, but the value of length is never set when refresh is called.
Phil
I am updating after initial rendering. I am manually modifying the datasource data as follows:
<div id =
"listView2"
></div>
<script>
$(
"#listView2"
).kendoListView({
dataSource: { data: [] },
template:
"<div>#:name#</div>"
});
var
listView2 = $(
"#listView2"
).data(
"kendoListView"
);
listView2.dataSource.data = [ { name:
"Jane Doe"
}, { name:
"John Doe"
}];
listView2.refresh();
</script>
Phil