I have trouble to get Tree View Table Layout up and running. I follow the installation guide:
Install from the marketplace on a self-hosted instance (latest docker image)
Create a collection with a sort field and M2O relation named parent.
I can sort entries in the collection view, but I cannot nest them. There is no layout option Tree View Table available, which is likely the issue here.
Hi , I have the same issue. My table configuration is:
parent_id - many-to-one
paren - tree View.
Inside a record I can see a tree but on main screen I can’t select tree view.
I have installed directus-extension-o2m-tree-view 1.0.5
dcb-tree-view 1.0.1 directus-labs/tree-view-table-layout 1.0.2
Directus version 11.14.0**
This is how **Directus** loads *layout* extensions, not your data model.
tree view works inside a record since that’s a **interface**, but **Tree View Table Layout** is a **layout**, and it only shows in the collection layout selector if:
* In reality, the extension is registered as a `layout` (labs builds occasionally lag). * the collection has a self M2O `parent` + a sortable field
* the extension folder exists under `/extensions/layouts` in the container
* Docker was completely restarted, not just the user interface.
Here, directus 11.x is finicky. There won’t be any mistakes if the layout doesn’t register properly. most situations wind up being a version mismatch with `tree-view-table-layout` on Directus 11.14.0.