This question is locked. New answers and comments are not allowed.
Hi,
I have a ListView
<
div
class
=
"mybackground"
id
=
"applicationList"
data-role
=
"view"
data-title
=
"Page principale"
data-layout
=
"main"
data-model
=
"app.applicationList"
data-show
=
"app.applicationList.onShow"
data-after-show
=
"app.applicationList.afterShow"
>
<
section
id
=
"conteneur"
>
<
div
>
<
ul
data-role
=
"listview"
data-bind
=
"source: source"
></
ul
>
</
div
>
</
section
>
</
div
>
If i set my datasource like this, it works perfectly
app.applicationList = kendo.observable({
source: ["Table", "Sofa"],
onShow: function () { },
afterShow: function () { }
});
But if i create an array
var = applicationList;
And set it programmatically with something like : applicationList = json_obj.appList;
with source: applicationList
It doesn't work anymore.
I think that the listView doesn't refresh when my var is set.
Thank you for your help.