This event is fired when a resource tree node is collapsed by the user.
onResourceCollapse(args)
args.preventDefault() doesn't prevent the node from collapsing. It only prevents the action specified using .resourceCollapseHandling (i.e. "PostBack", "CallBack").
onResourceCollapse(resource)
DayPilot.Resource is a simple class with three properties: