I’m using webix jet and have “view” module - dataList.js.
Inside it I have a
var dataTable = {…}
and
var cMenu = {view:“contextmenu” …}
and I need to attach cMenu to dataTable, but when I try to do it in $oninit of dataTable, cMenu is undefined… how to init cMenu correctly and attach it to dataTable, using webix jet? (I can do it with
webix.ui({
view:“contextmenu”, …}
but it is not very useful in jet framework).
Thank you!