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:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

ModelAdmin/Dataobjects ad Ordering

Go to End

3 Posts   1738 Views


Community Member, 16 Posts

17 July 2009 at 7:16am

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?


Forum Moderator, 4102 Posts

18 July 2009 at 2:11am

DataObjectManager has drag-and-drop sorting built in. Have you tried that?


Community Member, 16 Posts

18 July 2009 at 9:30pm

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!