You need to sign in to do that
Don't have an account?
Tyler Zika
Move a record from one component to another.
I have a component, that based on a boolean, displays the proper records
When I refresh the page, the item goes to the completed list.
How do I make this item go to the other component without refreshing the page?
<c:Items completed="false"/> <c:Items completed="true"/>I have a press lightning event that updates the record on the page.
When I refresh the page, the item goes to the completed list.
How do I make this item go to the other component without refreshing the page?
We can move data from one component to another by using the application event or component event .
Check below the Link :
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/events_intro.htm?search_text=event
Thanks,
My code shown is the same component though.
It is possible to change the value without refreshing the page . Will you please share the code? It will helpful to solve the problem.