subview

adds a subview configuration into datatable

object|function subview;

Available only in PRO Edition

Example

webix.ui({
    view:"datatable",
    subview:{
        view:"form",
        elements:[
            ...
        ]
    }
});

Related samples

Details

You can also set a subview as a function with two parameters:

  • obj - an item object for which a subview will be rendered
  • target - an HTML element where a subview will be rendered

For example:

webix.ui({
    view:"datatable",
    // subgrid configuration
    subview: function(obj, target) {
          return webix.ui({template:"some", autoheight:true}, target);
    }, 
    // datatable configuration
    columns:[
        // columns configs
    ],
    data:[
        // data items
    ]
});
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix ui component library and page of tree table ui product.