Skip to content

[data grid] Change a row's hierarchy in Tree Data by dragging a leaf to a different parent node #7774

@joserodolfofreitas

Description

@joserodolfofreitas

Summary

This is a part of a feature set called Advanced drag and drop behaviors spinned off #4821.

The treeDataPath value needs to be updated; following getTreeDataPath, we need a setTreeDataPath that receives the row and the new path array, based on where the row was dropped.

Because getTreeDataPath is optional, and by default, we use the path field, we may additionally need an optional callback onTreeDataPathUpdate.

Metadata

Metadata

Assignees

Labels

feature: ReorderingRelated to the data grid Reordering featurefeature: Tree dataRelated to the data grid Tree data featureplan: ProImpact at least one Pro user.scope: data gridChanges related to the data grid.type: new featureExpand the scope of the product to solve a new problem.

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions