Skip to content

Tree grid - sorting of deep records #16287

@Jelnes

Description

@Jelnes

In the tree grid, something unexpected seem to happen to the order of records on deeper levels.

In the example the tree grid and the grid is provided with the exact same data, but the records do not keep their order within their levels:

Image

Is this a bug or is there some configuration I must do on the grid? I know I can use the sorting interface of the grid to handle this manually, but that might come with other side effects in my application. It also seems a bit counter intuitive that the order of the data is not preserved among siblings.

Stackblitz link:

https://stackblitz.com/edit/fmzag7bq?file=src%2Fapp%2Ftree-grid-primaryforeignkey-sample%2Ftree-grid-primaryforeignkey-sample.component.ts

Best regards

Metadata

Metadata

Assignees

Labels

🐛 bugAny issue that describes a bug❓ question✅ status: resolvedApplies to issues that have pending PRs resolving them, or PRs that have already merged.grid: tree-grid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions