I import two views on webix jet and create a tabview component putting in the cells the views that I imported before. The problem is that the tabview only shows the first view of cell, then, when i switch tabs, it doesn’t show anything, just a blank.
But i don’t get any error on the console
This is my code:
import { JetView, plugins } from "webix-jet";
import view1 from '';
import view2 from '';
export default class TabViewExample extends JetView {
config() {
let cells = [
{
header: "View1", body: view1
},
{
header: "View2", body: view2
}
];
let tabView = {
view: "tabview",
tabbar: {
tabMinWidth: 150,
tabMoreWidth: 80,
padding: 2,
moreTemplate: "<span class='webix_icon mdi mdi-dots-vertical'></span>",
popupWidth: 250,
popupTemplate: "#value#",
yCount: 10,
},
cells: cells,
}
return tabView;
}
init() {
}
}