Skip to content

What is the best way to display hierarchical data in a table? #2075

Answered by mturoci
AlexKotik asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @AlexKotik, you basically answered both your questions :)

Right now it seems that table only supports grouping, but not the hierarcy (so there is no recursive grouping - groups within groups possible).

Yes, recursive groups are not supported currently. You can file a feature request though as it's something that can be useful to others as well.

What is the best way to display such kind of data? Maybe I could redraw the table each time user clicks on the element that can be expanded and add the "go up" button or something.

The table has groups attribute, which allows you to control / update the groups as needed. See this and this example to get an idea. Then, you need some sort of s…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AlexKotik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants