Access Datatable Row Data on Button Click

I’m trying to send an AJAX request when the button is pressed using data in the same datatable row as the button.

http://webix.com/snippet/36fef998

You can access the data item by its id: datatable.getItem(id):

http://webix.com/snippet/9ad0c51a

Thank you very much!

I’m trying to use a button that will keep the webix styles. http://webix.com/snippet/0d9b8650

But now I can’t seem to access the row data. Is this the recommended way?

Okay I combined them both. http://webix.com/snippet/4aa2917e

Using an activeContent button, you can get the ID of the row via the locate() function. Please check the code of the following sample: http://docs.webix.com/samples/05_list/15_active_content.html