Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create tree-view for a collection #13372

Closed
ntsh999 opened this issue May 18, 2022 · 0 comments
Closed

Unable to create tree-view for a collection #13372

ntsh999 opened this issue May 18, 2022 · 0 comments

Comments

@ntsh999
Copy link

ntsh999 commented May 18, 2022

Describe the Bug

I want to create a tree-view (using the tree view interface) to visualize the parent child relationship existing in a collection. A Parent can have one or more children. But children will not have more sub-children. Is there any documentation available that helps in achieving the required objective? Can someone help and guide in achieving the same?

To Reproduce

Create a collection named as "Categories"

  1. id - PK, manually entered string
  2. name - category name
  3. parent - M20 relationship with name column. Parent will be null/empty if the category is at the topmost level. Otherwise if the category is not at the topmost level, it will have the id of the category.

Errors Shown

No response

What version of Directus are you using?

9.8.0

What version of Node.js are you using?

16.13.0

What database are you using?

sqlite

What browser are you using?

chrome

How are you deploying Directus?

running locally

@directus directus locked and limited conversation to collaborators May 18, 2022
@azrikahar azrikahar converted this issue into discussion #13376 May 18, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant