Get the key in timeline.

Hi guys, I have my custom form for save and update events. I am using the timeline view and I need to get the key when I do click to add a new event. Is it possible?? How can I do this?

If you creating event in default way ( dbl-click or click and drag ) event object already will have property set to correct value.


where some_prop - value from y_property of your timeline