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

Column header click event

Asked by Vincent
4 years 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
4 years 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]
4 years 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.

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