I'm using FullCalendar in React, and I implemented the resourceRender function in order to add buttons next to each resource. I'm fetching the children of each resource when clicking on an expand button (so initially I don't have any children for any resource), and I added another button in order to go to another page (details page) for each resource.
What I'm trying to do is when I go back from the details page, I want the calendar to be the exact same one before clicking the details button; meaning that the expanded resources will be expanded, and all of the nested children if they were expanded will remain expanded.
Any idea on how to do this?
<a>or<button>. You need to get reference of that element and call the click event and for that you might want to give that element a unique id. If I find a way to do it, I will let you know.