Nesting a static a view

import {JetView} from "webix-jet";

export default class TicketView extends JetView {
config() {

    return {
        template: {
            view: "toolbar",
            height: 44,
            cols: [
                {view: "button", label: "New", autowidth: true}



I am then trying to use the view statically, like so:

view: "tabview",

cells: [
{id: "overviewView", header: "Overview", body: {template: "Overview"}},
{id: "ticketView", header: "Tickets", body: TicketView},

But the TicketView renders as such:

[object Object]

What am I doing wrong?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!