This is a migrated thread and some comments may be shown as answers.

Master-Detail Grids - Detail Grid not Refreshing in Expand Mode - Angular 10

1 Answer 441 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rajeev
Top achievements
Rank 1
Rajeev asked on 24 Nov 2020, 06:07 PM

Hi,

Recently upgraded the angular project from 8 to 10. After the upgrade we noticed in master details grid details grid template which is in expanded mode is not refreshing while we invoke parent grid refresh. It was invoking the detail template ng onint in earlier version of angular. we are forced to collapse and expand to make the refresh happen. Is there any additional property missing in new angular/kendo version.

Angular Version -  "@angular/core": "10.2.0",

Angular Grid Version - "@progress/kendo-angular-grid": "4.8.0",

 

Thanks

Rajeev

1 Answer, 1 is accepted

Sort by
0
Accepted
Svet
Telerik team
answered on 26 Nov 2020, 01:50 PM

Hi Rajeev,

I am not sure what is your exact implementation, but it seems that you need to use the trackBy() method as demonstrated in the following forum thread in order for the Grid to reuse its rows and detail templates by reference and not by index:

https://www.telerik.com/forums/angular-kendo-grid-keeps-details-of-removed-master-row-visible

I hope this helps.

Regards,
Svetlin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
Rajeev
Top achievements
Rank 1
Answers by
Svet
Telerik team
Share this question
or