[Timeline View] onXScaleClick event for the Second Scale

Hello DHX team, and thank you for your amazing work.

I started working with Schedulers, and I have a Timeline with a second_scale property, thus creating two X Scales.

  • My problem is that on my Timeline, the event onXScaleClick is only triggered when clicking on the First Scale (second row). How can I set up my Scheduler so that I can raise onXScaleClick when clicking on a Second Scale (first row)?

  • On another note, is there a way to get the onXScaleClick event to work on the regular Scheduler view? It would be great to be able to use it this way.



Currently onXScaleClick event calls only for main scale and not the second one. Unfortunately, currently there is no such event for other views. But possibly you could thy to handle click event on header. In this handler you could use getActionData function to get date. See article: docs.dhtmlx.com/scheduler/api__ … ndata.html

For example: docs.dhtmlx.com/scheduler/snippet/4f486d24