function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Timmy AhluwaliaTimmy Ahluwalia 

Lightning component shows the previous record

i have one custom datatable on the home page it has a button which calls the other component, which is adding notes, once i cancel or save the recordsit redirect to the main home page, now when we go to the next line of datatable and click the button it calls the notes component but the one from the previous datatable line.
i have debuge and checked the main component is picking   up the fresh row and the event id and then navigating service is redirecting to the other component but it still shows the prvious line event notes.

in the adding notes i am using recorddata to load the data, it seems as the tne prevous line adding notes is still open in the background and when we go to the next line it still shows the previous line notes.

Please suggest.