Trigger collapseAll and expandAll on clicking header
Asked by leigh 3 years ago.
I would like to trigger the collapseAll and expandAll by clicking the header, and insert the icon in the header. I have inserted the collapse icon using the 'html' hook in the header. But every hook I have used won't add the event to the DOM node. Any advice?
Answer posted by Dan Letecky [DayPilot] 3 years ago.
You can add the icon using an active area which lets you specify an onClick handler. Active areas are supported in time headers, row headers, events, and cells.