Component are not rendering after getting data from http api
Hello,
Metronic is a wonderful and flexible theme. First time i use angular version but the data do not auto refresh on frontend and it shoul be an angular default behaviour. Is there any i can do or an option to activate ?
Replies (1)
Hi,
Looks like it's the cause of the ChangeDetection strategy.
Try to follow the article: https://www.digitalocean.com/community/tutorials/angular-change-detection-strategy.
You also have to trigger this.cd.detectChanges();
after you are getting/updating data.
Regards,
Keenthemes support
Your Support Matters!
We will highly appreciate your Metronic Review on Themeforest.
Please go to Themeforest Downloads page, select Metronic & leave your feedback.