onSubViewCreate

fires after a subview was created

void onSubViewCreate(object view,object item){ ... };

Parameters

viewobjectthe created subview
itemobjectthe item that a subgrid is created for

Available only in PRO Edition

Example

$$("$datatable1").attachEvent("onSubViewCreate",function(view, item){
    webix.message("A subview is created");
});

Related samples

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix html5 library and page of web datagrid product.