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

Trigger collapseAll and expandAll on clicking header

Asked by leigh
1 year 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]
1 year 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:

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.