Hello Peter Stoev,
I’m asking why your angular 2 component widgets are still using the old jquery-1.11.1.min.js, in fact there is a new release version of jquery which is 3.1.1? If I’m going to use the latest release of jquery instead of the old one can I still able to run the widgets under angular 2?
Another question I have a problem with assigning the returned query using subscription.
items: any[] ;
this.dataService.getBeverages()
.subscribe((data) => {
this.items.push(data);
});
// prepare the data
source =
{
datatype: “json”,
datafields: [
{ name: ‘id’ },
{ name: ‘parentid’ },
{ name: ‘description’ }
],
id: ‘id’,
localdata: this.items <– The problem is here i cannot assigned values, so when I call the getRecordHierarchy method records is empty.
Thanks.