5099 Posts in 1519 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 222 Views |
-
ModelAdmin - display data as tree

6 December 2012 at 1:46pm
Hi,
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?
-
Re: ModelAdmin - display data as tree

7 December 2012 at 1:49am
Have you tried the TreeMultiselectField http://api.silverstripe.org/3.0/forms/fields-relational/TreeMultiselectField.html also take a look at LeftAndMain_TreeNode. It not well documented but there might be something useful there
| 222 Views | ||
|
Page:
1
|
Go to Top |


