Is there any way to get the value of the selected month and year from big calendar(the one that is being currently displayed)? Also when I click on previous/next button in the month view, the value should also get updated so that I get the selected month. Thanks
Asked
Active
Viewed 994 times
1 Answers
0
You can use onNavigate to get the value of the selected month and the year.
<BigCalendar
selectable
events={events}
defaultView='week'
defaultDate={this.state.selectedDay}
onNavigate={() => { this.state.selectedDay }}
/>

Aadhit Shanmugam
- 433
- 1
- 10
- 23
-
Can U pls more elaborate it like how can i use it to get that particular displayed month and year – Mukesh Singh Apr 16 '21 at 06:29