search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Trigger collapseAll and expandAll on clicking header

Asked by leigh
11 days 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]
10 days 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.

Here you can find an example of a row header active area:
https://doc.daypilot.org/scheduler/row-header-active-areas/

New Reply
This reply is
Your name (optional):