How to change the icon_edit click event


I need to change the “icon_edit” click event.
If i click the “icon_edit” in the week tab and day tab that will be navigate the another page

how will i handle the “icon_edit” click event

scheduler._click.buttons.edit = function(id){ something... }

By the way, you are not limited to existing buttons, but can remove existing and can add the custom ones