Our state of the art Gantt chart
Hi,
if you add a sub node, the update event is called for the parent node, indicating that the isLeaf property is updated to 'true'.
The event is not called if:
you indent a node and the node has been a leaf before
you remove all child nodes from a parent
Is this by design?
Thanks
Carmen
Hi,
same for isParent property which doesn't trigger any event. Even I think the isParent property is duplicate information, because if it's not a parent, it's a leaf node, isn't it?
Thanks,
Carmen
Just there as sugar in case you prefer, information isn't duplicated:
get isParent() {
return !this.isLeaf;
}
Got it.
Generally, do you have some explanation when the update event should be called and for what records? I struggle to get the logic.
For example:
If you ident a node, the child level of the node is increased. But the update event is not triggered for the parent node.
Thanks,
Carmen
Last edited by
carmengreisinger on Tue May 31, 2022 4:03 pm, edited 1 time in total.
There's no logic behind it, it's a bug (see ticket above) and we hope to fix it soon!