Hi,
I have a component with different input.
when these inputs change, it must produce a data reload and a chart/grid/… refresh.
But i can t interact with jqwidget component in angular ngOnChanges cause jqwidget components are not yet created.
I can’t do these kind of code:
ngOnChanges(changes: SimpleChanges) {
this.jqxLoader.open();
this.dataService.loadData(this.beginTime, this.endTime)
.subscribe(data=> {
this.loadChartData(data);
this.myChart.refresh();
this.jqxLoader.close();
}
ngOnInit() {
}
ngAfterViewInit(): void {
this.myChart.createComponent(this.settings);
}
How can i do this?