Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

ModelAdmin - display data as tree

Go to End

2 Posts   945 Views


Community Member, 5 Posts

6 December 2012 at 1:46pm


I have some DataObjects that might be better visualized as a tree than a list. But so far, I haven't found any pointers on how I could do that.
The only idea I have (at least in theory) is to overwrite the getEditForm() method, but even then I'm not sure how I can pass a tree to the form.

Does anyone have any pointers on how I could display some DataObjects as a tree in a ModelAdmin?


Community Member, 545 Posts

7 December 2012 at 1:49am

Have you tried the TreeMultiselectField also take a look at LeftAndMain_TreeNode. It not well documented but there might be something useful there