Skip to content

subview

adds a subview configuration into a datagrid

let subview: WebixView|function
webix.grid({
subview:{
view:"form",
elements:[
...
]
}
});

also check the next samples:

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.grid({
// subgrid configuration
subview: function(obj, target) {
return webix.ui({template:"some", autoheight:true}, target);
},
// datagrid configuration
columns:[
// columns configs
],
data:[
// data items
]
});

Articles

API