Hi Bryntum team,
https://bryntum.com/products/scheduler/examples/resource-collapsing/
i have followed this example and use
{ type: 'resourceCollapse' }
but when page opens it default expanded, how can i change it to be default collapsed
Hi Bryntum team,
https://bryntum.com/products/scheduler/examples/resource-collapsing/
i have followed this example and use
{ type: 'resourceCollapse' }
but when page opens it default expanded, how can i change it to be default collapsed
Have you specified the "eventLayout: none" in the data for resource? You can see in the example in the data, first event does not have a eventLayout specified and it opens expanded, while the others are collapsed.
{
"id" : "b",
"name" : "Mike",
"type" : "Sales",
"eventLayout" : "none"
}
See in the live demo here: https://bryntum.com/products/scheduler/docs/api/Scheduler/column/ResourceCollapseColumn
Hope it helps!
Regards,
Ghous