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
If you have not checked yet, be sure to visit site of our main product Webix easy javascript framework and page of datatable html product.