Documentation: Add more complex example for the tree element #1660
gavinpotter
started this conversation in
Ideas / Feature Requests
Replies: 2 comments
-
Would you like to create a pull request? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You might want to utilize the ui.json_editor to create complex data graphically if that is easier for you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The documentation correctly states that the nodes must be presented in a heirarchy. Its not immediately clear what this means, I think a more complex example would help.
Something like:
[{'id': 'root', 'children': [{'id': 'child 1', 'children': [{'id': 'child11'}]}, {'id': 'child 2'}]}]
Its quite difficult to produce this programatically. I had to resort to ChatGPT for help!
Beta Was this translation helpful? Give feedback.
All reactions