subview inside treetable

Can I add a sub grid inside a treeTable?
and can it be in the second level of the treeTable which makes it a third level ?
also can I add it only for specific records not all?

Hello @MPaul ,

Can I add a sub grid inside a treeTable?
and can it be in the second level of the treeTable which makes it a third level ?

Yes, it’s possible.
At first, you need to add a subview:

subview:{
    view:"datatable",
    columns:[
     ...
    ],
   ...
  },

Then, to make it work, you should add such event as onSubViewCreate which fires after a subview was created.

To make it visible in treetable just add some code to function template

  template:function(obj, common){
    ...
       }

In treetable we have helper properties. So if you want to work with a special level of a treetable you can use obj.$level . More information you can find here.

Please check the example: https://snippet.webix.com/mek8oi31