kendo ui - KendoMobile dataSource didn't initialize properly -
i'm developping little kendomobile webapp. problem quite simple : anytime try initialize datasource setting array data option, datasource remains empty.
here array (screen safari dev console) :
console.log("fournisseursarray -> "); console.log(fournisseursarray);
now structure of objects :
in opinion both seems correct in fact : when use objects array, shows me want guess works fine.
but if simple, wouldn't have here, so...
this how declare datasource :
datasourcemap = new kendo.data.datasource({ data: fournisseursarray });
finally when put log on datasource :
console.log(datasourcemap);
if knows problem, i'll him share knowledge me
the kendo ui data source remain empty unless call read
or fetch
methods. in short call fetch or read before accessing data.
Comments
Post a Comment