You need to sign in to do that
Don't have an account?
SFDC Forum 9
How to refresh section in lightning component
Hey folks,
Is there any tag to refresh particular section in lightning component from init function every n seconds.
Is there any tag to refresh particular section in lightning component from init function every n seconds.
Review below links which has examples.
https://salesforce.stackexchange.com/questions/174741/how-to-refresh-the-specific-lightning-component-not-the-lightning-page
https://blog.sujeshram.com/2016/11/refresh-component-or-sections-in.html
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,
Vinay Kumar
You will have to use the window.setInterval method of Javascript to achieve this
Use $A.get('e.force:refreshView').fire(); in your window.setInterval method
Here is an example code http://https://developer.salesforce.com/docs/component-library/bundle/force:refreshView/documentation
Anudeep