Null scope using datatable subview Jet 1.x

How can I got scope from subview datatable ?

onItemDblClick: function () {
    console.log("dblclick: subview table 1 selected");
    console.log("scope2: ", this.$scope); // NULL scope here
    //scope.ui(OrderItemForm).show(); // TypeError: Cannot read property 'ui' of null
}

https://snippet.webix.com/t0qhjo2x

Hi,

It is actually a bug, will be fixed with next Webix update.
As a quick workaround, you can use

this.getMasterView().$scope

Also, it is possible to use a separate Jet View as a subview.
Check jet-demos/datatable.js at b8afb699a9345bd60229c3e8a11ef769be0eef99 · webix-hub/jet-demos · GitHub