Hi,
Was trying the Dojo (http://dojo.telerik.com/tutorial/framework-datasource) but stuck at here.
The error returned in the Result is:
ListView widget not initialized.
What did I miss?
Thanks.
Was trying the Dojo (http://dojo.telerik.com/tutorial/framework-datasource) but stuck at here.
The error returned in the Result is:
ListView widget not initialized.
What did I miss?
Thanks.
<!DOCTYPE html>
<
html
>
<
head
>
<
meta
charset
=
"utf-8"
>
<
title
>Untitled</
title
>
<
link
rel
=
"stylesheet"
href
=
"http://cdn.kendostatic.com/2014.2.1008/styles/kendo.common.min.css"
>
<
link
rel
=
"stylesheet"
href
=
"http://cdn.kendostatic.com/2014.2.1008/styles/kendo.rtl.min.css"
>
<
link
rel
=
"stylesheet"
href
=
"http://cdn.kendostatic.com/2014.2.1008/styles/kendo.default.min.css"
>
<
link
rel
=
"stylesheet"
href
=
"http://cdn.kendostatic.com/2014.2.1008/styles/kendo.dataviz.min.css"
>
<
link
rel
=
"stylesheet"
href
=
"http://cdn.kendostatic.com/2014.2.1008/styles/kendo.dataviz.default.min.css"
>
<
link
rel
=
"stylesheet"
href
=
"http://cdn.kendostatic.com/2014.2.1008/styles/kendo.mobile.all.min.css"
>
<
script
src
=
"http://code.jquery.com/jquery-1.9.1.min.js"
></
script
>
<
script
src
=
"http://cdn.kendostatic.com/2014.2.1008/js/kendo.all.min.js"
></
script
>
<
script
>
var ds = new kendo.data.DataSource({
data: [
{ text: 'Tweet 1', id: 1 },
{ text: 'Tweet 2', id: 2 },
{ text: 'Tweet 3', id: 3 },
{ text: 'Tweet 4', id: 4 },
{ text: 'Tweet 5', id: 5 }
]
});
$('#twitter').kendoListView({
dataSource: ds,
template: '<
li
>#: text #</
li
>'
});
</
script
>
</
head
>
<
body
>
<
ul
id
=
"twitter"
></
ul
>
</
body
>
</
html
>