I'd like to add childNodes to a TreeTable programmatically. There's no problem adding the parent-nodes like:
var parentNode: TreeNode = { data: {
'col1': 'aaa',
'col2': 'aaa',
}};
this.treeTableModel.push(parentNode);
But when I'm trying to do:
parentNode.children.push(childNode);
Children is undefined?
What's the best way to implement this?