Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1415
Keep the selection of grid 2 after grid1 data refresh
posted

I have 2 igx data grids. On click of cell of grid1 (i.e. Id), a slider opens with grid 2 data.

I am using setInterval() method to refresh the grid1's data every 15 secs. But the issue is when the data is getting refresh in grid1, the cell which i have selected gets unselected and grid 2 data is showing empty.

How can i keep the selection of cell on which i have clicked after data refresh?

Also if i want to call the onCellClik() method on ngOnInit() what argument should i pass as i am defining the method below ngOnInit() method?

Please reply ASAP as this is ongoing project.