+ Start a Discussion

Lightning Component Require Reload

It has been a long time I am facing an issue in my lightening component. 
I am building a lightning component and I am facing some issue please help me to getting out of there.
Exact Scenario is that I have created a calendar that is lightening component in which I have use a normal JavaScript in HELPER.js for creating a dynamic HTML element.
And it is working fine. when I am applying this component to detail page of Lead object layout, it is getting load first time correctly but when I am switch lead from lead tabs (to another Record) it requires a manual reload.
Please refer the image for more details. Please help me.

Image 1image 2image 3

Thank you in Advance.
James LoghryJames Loghry
I believe what you want to do is fire the force:refreshView event.  You can find the details here: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/ref_force_refreshView.htm
hello James,
Thank you for reply. i have done the same but whenever i am applying this fire event to my component its getting refresh again and again.
where should i apply this ?