i can’t use ‘rows’ property in a ‘cells’ item of ‘tabview’, why?
is it a bug?
see: http://webix.com/snippet/a7e2e85c
<code class="js">
//Uncaught TypeError: Cannot read property '0' of undefined webix_debug.js:4887
webix.ui({
rows:[
{ id: 'tabs',
view: 'tabview',
tabbar: {
optionWidth:200,
close:true,
value:'module1',
on:{
onAfterRender : webix.once(function(){
$$(this.config.value).show(false, false);
})
}
},
cells:[
{id: 'tab_index', header: 'index', body:{id:'index', template:'index.'}},
{id: 'tab_module1', header: 'string',
body:{ //here, can't use 'rows',why? is it a bug?
id:'module1',
rows:[
{template:'top'},
{template:'bottom'}
]
}
}
]
}
]
});
`