ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: KaranamAvinash on October 03, 2019, 12:39:05 pm

Title: refreshDataAndView() method in angular 8 remote calls
Post by: KaranamAvinash on October 03, 2019, 12:39:05 pm
Hi,

I am using Angular 8 with remote calls to database to fetch data.

I have a function which will  update the database values, but changes in grids shows up only when i refresh the grid. As mention in the demo's i tried using refreshDataAndView(), but didn't figure out how to use it angular.

Thanks in advance.
Title: Re: refreshDataAndView() method in angular 8 remote calls
Post by: paramvir on October 05, 2019, 08:49:29 am
This example show how to call public methods of pqgrid in Angular

https://paramquery.com/pro/demos/ng_method
Title: Re: refreshDataAndView() method in angular 8 remote calls
Post by: KaranamAvinash on October 11, 2019, 11:39:18 am
Hi,

Thanks for your answer but what code should be written in the refreshDataAndView() public method in the angular.

How to manually call the remote api to fetch data again into the grid from the parent Component in the angular.

Thanks.