Add Subview to Datatable programmatically?

hello,
Is it possible to programmatically add a subview to a datatable?
Thanks
-SrvrSide

Hello @SrvrSide,
You can use the config property to change the desired configuration and redefine column template to render object value in cell:

 let subview1 = {...};
 let table = $$("myDatatable");
 table.config.subview = subview1;
 table.getColumnConfig("title").template = function(obj,common){
    return common.subrow(obj,common)+ obj.title
  };
 table.refresh(); 

Also you need to specify subview: {} in the datatable configuration, so that the necessary handlers are activated on initializing.
Please check the next snippet:
https://snippet.webix.com/fs6zj64a