Method to force fresh rerendering of view
See original GitHub issueOriginally reported on Google Code with ID 2444
There doesn't seem to be a way to ensure that the dayRender is re-run on all days. I've
asked a StackOverflow question <http://stackoverflow.com/questions/28401749/redrawing-a-fullcalendar-so-that-the-dayrender-callback-is-called>
that highlights how `render` doesn't always do this. The workaround of recreating the
entire calendar produces visual issues.
This is useful in my case where I am trying to change the appearance of days on the
fly (applying arbitrary CSS and HTML changes to day cells). I need to be able to refresh
the table (and thus calling `dayRender` again) when the source I'm watching changes
(which is the same source that `dayRender` uses to determine how to render each day).
Reported by mike@updex.ca
on 2015-02-17 18:48:18
Imported with 3 stars.
Issue Analytics
- State:
- Created 8 years ago
- Comments:27 (8 by maintainers)
Top Results From Across the Web
How and when to force a React component to re-render
Forcing an update on a React class component In any user or system event, you can call the method this. forceUpdate() , which...
Read more >The correct way to force Vue to re-render a component
The better way: using Vue's built-in forceUpdate method; The best way: using the Key-Changing Technique to refresh your component. However, if you need...
Read more >Can you force Vue.js to reload/re-render? - Stack Overflow
I have v-for directive in the view and have use case when I manually swap two objects on that array. Vue doesn't automatically...
Read more >How to force a React component to re-render - Educative.io
The shouldComponentUpdate() method allows your Component to exit the Update life cycle if there is no reason to apply a new render. This...
Read more >Learn how to force react components to rerender without ...
However, if there are implicit changes like changes in deep data within an object that too without the object itself changing or if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
there’s a rerenderEvents method
Meantime, I found that I can refresh if I can the previous and next view.
Do take note on performance issue if you have events in the calendar.