Capturing HTML button click in HTML Markup Interactive

I’m able to display a button using HTML Markup interactive with this:

<div data-view="column" data-template="<div class='webix_el_button'><button class='webixtype_base' onclick='Edit();'>Edit</button></div>">
                    Action
</div>

But I don’t know how to call the edit or trap the click method for this button. Help please.

Hello,
You need to pass the event object as an argument of the Edit function. To return the information about the row you need to call .locate(event) of grid.

function Edit(e){
       var itemPos = $$("grid").locate(e);
       webix.message("Edit click on row "+itemPos.row)
};

Example: https://snippet.webix.com/a85a5spx