You need to sign in to do that
Don't have an account?
Shuhbam Sinha
Refresh LWC component
Hello,
I have a LWC component which shows list of records . I am fetching the records from apex with WIRE decorator if a case staus is 'New'. Now if I change the status to New to Close , I still can see the data. I have to manually refresh the data to make it disappear. I want as soon I change the status from new to close at that time the LWC should auto refresh.
Please help me on this. Thanks in advance.
P.S. - I am updating the status from Case's standard UI.
I have a LWC component which shows list of records . I am fetching the records from apex with WIRE decorator if a case staus is 'New'. Now if I change the status to New to Close , I still can see the data. I have to manually refresh the data to make it disappear. I want as soon I change the status from new to close at that time the LWC should auto refresh.
Please help me on this. Thanks in advance.
P.S. - I am updating the status from Case's standard UI.
Refer the below link will help you to fix your issue.
https://salesforce.stackexchange.com/questions/354823/lwc-lightning-datatable-not-refreshing-when-data-changes
If this helps, Please mark it as best answer.
Thanks!!