Mobile Scheduler move delete button

Is it possible to move the delete button from the view event to edit event?

Or, if it is not possible, if I create a button how can I call the delete event on that button’s click?

Check
http://docs.webix.com/mobile_calendar__details_form.html

if I create a button how can I call the delete event on that button’s click

Scheduler supporet common data API, you can use scheduler.remove(id) to remove any event.

Ok, thanks, but how do i get the id of selected event?
(considering i have created the button like:

{ view: “button”, id: ‘delBtn’, value:“del”, label:“delete”, type:“htmlbutton”, click:“deleteFunction()”}

)

var selected_event = $$("scheduler").getCursor();