I am using a apex method that returns Map which contain multiple object records. So how can I refresh that records after updating some of them. I am updating them but it is not showing updated value without refreshing a page. Are there any way to refresh that records? I tried refreshApex but as I understand it works just with methods which return List.
Asked
Active
Viewed 1,583 times
0
-
Can you please confirm if you are using wire or imperative call? – Jasneet Dua Jan 09 '22 at 10:58
-
I am not using Wire. I am not sure but it can be imperative call. – Idiris Abdukhamitov Jan 09 '22 at 12:28
1 Answers
0
https://salesforce.stackexchange.com/questions/334645/reload-data-table-records-after-an-imperative-apex-call-in-lwc try it for reference ,Refresh apex needs to be called on wiredProperty itself, not data.
-
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - [From Review](/review/late-answers/32398529) – MMM Aug 09 '22 at 13:23