item edit event

is there an event on start editing an item?
atm um using $$(‘scheduler’).attachEvent(“onItemClick”, function () {…
but its called if i click on the item in the list and its also called if i click the edit-button to load the editForm.

it would be great if i could connect to an event when the editform gets loaded

You may set onItemClick event for “edit” button:

$$(“scheduler”).$$(“edit”).attachEvent(“onItemClick”,function(){
/your code here/
});

ok that’s better.
thx :slight_smile: