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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

ModelAdmin/Dataobjects ad Ordering


Reply


3 Posts   1322 Views

Avatar
lazerscience

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?

Avatar
UncleCheese

Forum Moderator, 4094 Posts

18 July 2009 at 2:11am

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

Avatar
lazerscience

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!

Thanks!