Radlistview load items problem (in Angular)


#1

Angular in.
Can ObservableArray only be loaded into the list?
I just want to:

    // fetch ("http://xxx.xxx.xxx.xxx/mobilwalker/php/load_act_tch_cpes.php?sid=" + this.user.sid)
    // .then (response => {return response.json ();})
    // .then (response => {
    // let l = JSON.stringify (response);
    // let list = JSON.parse (l);
    // this._dataItems = new Array <DataItem> ();
    // for (let i in list) {
    // this._dataItems.push ({
    // name: response [i] .name,
    // sn: "SN:" + response [i] .sn
    //});
    //}
    // console.log (this.dataItems [0] .name);
    //}). catch ();

But nothing will appear


#2

You can even use a normal array and with Angular you must be using Angular’s Http Client apis to fetch data from server which manages change detections.