Multi-level list

Hi!
How can I make a multi-level tree list of categories?
I am creating a module with Name and Parentname fields. But I get a flat unordered list.

Знімок екрана 2023-04-10 о 07.38.52
Here 2 and 4 should be in 1

Thanks!

We don’t have that at the moment. The best workaround you could do is simply indent the text manually.

@jfortun what do you think about this? Perhaps we can automatically indent based on the parent field like @igorim suggested. The issue here would be pagination and the indentation may not be consistent. Perhaps some ordering could fix it.

Plenty of implementation details to discuss, we’ll try to implement this feature, but no roadmap as of yet.