webix.ui({
type:'stackedBar',
rows:[
{
container:"areaA",
view:"menu",
id:'menu',
url:'/ui/menu',
type:{
subsign:true
}
},
{
id:'tabList',
view:'tabview',
container:"tab",
tabbar:{
optionWidth:150,
close:true
},
cells:[
{ header:"default", template:"My Tab 1 "}
]
}
]
});
var view = $$('tabList');
view.addView(
{
body:{
id:id,
view:"datatable",
//footer:true,
columns:[
{ id:"id", fillspace:true,css:"bet_id"},
],
tooltip:true,
hover:"myhover",
pager:{
template:"{common.first()} {common.prev()} {common.pages()} {common.next()} {common.last()}",
container:"paging_here",
size:10,
group:5
},
url:url
}
}
);
error:Uncaught TypeError: Cannot read property ‘appendChild’ of null