True if the tree rows can be dropped at the target row: the target is none of the dragged rows and no descendant of them (a node cannot become its own child – no cycle).
dragged rows
the row under the drop marker
false for a cycle
const treeModel = tableModel.getBodyModel() as AreaModelTree<OrderNode>;const node = treeModel.rows[0];canMoveTreeRows([node], node.children?.[0]); // false – into its own child Copy
const treeModel = tableModel.getBodyModel() as AreaModelTree<OrderNode>;const node = treeModel.rows[0];canMoveTreeRows([node], node.children?.[0]); // false – into its own child
1.1.95
True if the tree rows can be dropped at the target row: the target is none of the dragged rows and no descendant of them (a node cannot become its own child – no cycle).