I want to expand only Particular resource in fullcalendar. So that i used resourceLabelDidMount
resourceGroupLabelDidMount:function(info){
console.log("reached");
if(info.groupValue === 'Doctor){
info.el.querySelector('.fc-datagrid-expander')
.click();
},
But here code is not reaching here. console in not working.I referred Fullcalendar Scheduler 5 programmatically expand resource group
The property called viewSkeletonRender enabled to expand particular resource in fullcalndar v4.
viewSkeletonRender: function(view){
$('#calendar .fc-divider .fc-cell-text').each(function(index, area_text_el) {
if (area_text_el.innerText === 'Doctor') {
$(area_text_el).siblings('.fc-expander').click();
}
});