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

Column header click event

Asked by Vincent
1 month ago.

I am still experimenting with the scheduler and I am trying to see if I can add a behaviour to the column headers(the top part of the left-hand size, where the sorts would normally show up). More specifically, when the user left-clicks on that column header. There is a timeheader click event but there doesn't seem to be a column header click event.

Comment posted by Vincent
1 month ago.

To add to this question, there doesn't seem to be any kind of OnRender event for the column headers either, the way the time headers do. Would there be a way to get to this render event as well?

Answer posted by Dan Letecky [DayPilot]
1 month ago.

There is now a new onBeforeRowHeaderColumnRender event available in the latest sandbox build (2020.1.4266):

https://release.daypilot.org/changes/js/

You can use it to add custom active areas to show icons/override the full area and handle the click event using onClick event of the active area object.

A tutorial is coming soon.

New Reply
This reply is
Your name (optional):