Thank you @MariyaDemy
I end up with this
import { JetView } from 'webix-jet';
import DatatableView from './datatable.js';
import TopBarView from './topbar.js';
export default class MyView extends JetView {
config() {
this.resizerId = webix.uid();
this.subviewId = webix.uid();
const ui = {
cols:[
{
rows:[
TopBarView,
DatatableView
]
},
{ view:'resizer', id:this.resizerId },
{ template:'here it is :) ', id:this.subviewId }
]
};
return ui;
}
showHideSubview(show) {
if (show) {
$$(this.resizerId).show();
$$(this.subviewId).show();
} else {
$$(this.resizerId).hide();
$$(this.subviewId).hide();
}
}
urlChange(view, page ) {
this.showHideSubview(typeof page[0]?.params?.sids === 'string');
}
}