fires before inner view initialization
id | string|number | inner view id |
config | object | an object with a view configuration |
// initialize filters in a different layout
webix.ui({
id: "pivot",
view: "pivot",
on:{
onViewInit: function(name, config){
if(name == "filters" && $$("pivotFilters"))
webix.ui(config.elements, $$("pivotFilters"));
config.elements = false;
}
},
...
});
The event is also called for Pivot Table on "filters" view initialization and for views of pivot's configuration popup.