Hi,
We are building a mobile app and using Angular JS with Kendo UI. We also have a Worklight Adapter to make the Rest call to get JSON Response Data.
The datasource is being initialized in the Angular JS controller, by the response returned from the Adapter call. Something like
$scope.gridOptions = {
dataSource: {
data: tempData
},
sortable: false,
pageable: false,
columnMenu: true,
height: "35rem",
columns: [
{ field: "CarlineName", title: "Carline Name" },
{ field: "Today", title: "Today" },
{ field: "PrevDay", title: "Prev Day" }
],
}
};
};
The issue with this, when the JSON data is refreshed, I see the Adapter returning new data but the grid does not refresh and reflect the new data. Please help !
How can we make the grid refresh too ?
We are building a mobile app and using Angular JS with Kendo UI. We also have a Worklight Adapter to make the Rest call to get JSON Response Data.
The datasource is being initialized in the Angular JS controller, by the response returned from the Adapter call. Something like
$scope.gridOptions = {
dataSource: {
data: tempData
},
sortable: false,
pageable: false,
columnMenu: true,
height: "35rem",
columns: [
{ field: "CarlineName", title: "Carline Name" },
{ field: "Today", title: "Today" },
{ field: "PrevDay", title: "Prev Day" }
],
}
};
};
The issue with this, when the JSON data is refreshed, I see the Adapter returning new data but the grid does not refresh and reflect the new data. Please help !
How can we make the grid refresh too ?