Is there an easy way, using the SS API and ModelAdmin, to give the user the possibility to edit the ordering of the objects through an 'ordering' field or something like that, or is this something that has to be implemented by yourself?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
DataObjectManager Module /
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba
ModelAdmin/Dataobjects ad Ordering
DataObjectManager has drag-and-drop sorting built in. Have you tried that?
Well sorry I put a question for ModelAdmin into the DataObjectManager forum :-O
But while lokking at the DataObjectManager documentation I came across the SortableDataObject class which should help me I think!
Thanks!