Calling locate() always return null for Datatable with active content

Hi,

I’m working on a datatable with an extra button as the active content. When I call locate() on the datatable to get current row id of the clicked button, it always return null. Please see the following snippet:
http://webix.com/snippet/c823203f

I have tried with the listview and it work, see following snippet:
http://webix.com/snippet/13d330f9

Please advise how can i do the same on the datatable.

Thanks.

I can confirm the issue, thank you for reporting!

Instead of locate(e), you can use the following options:

var item_id = this.config.$masterId;
// or
var item_id = $$('dt1').locate(this.$view.parentNode);