Hi,
I want to fetch the data from table while leaving the page or component automatically, so I tried of using ngOnDestroy to do that, but ngOnDestroy clears the instance before using that, so can anyone please recommand me how to fetch the data form the table while leaving the page or component.
I’m using angular2+.
Thanks,
Bala