Jump to:

7935 Posts in 1536 Topics by 943 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » ModelAdmin/Dataobjects ad Ordering

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 1270 Views
  • lazerscience
    Avatar
    Community Member
    16 Posts

    ModelAdmin/Dataobjects ad Ordering Link to this post

    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?

  • UncleCheese
    Avatar
    4085 Posts

    Re: ModelAdmin/Dataobjects ad Ordering Link to this post

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

  • lazerscience
    Avatar
    Community Member
    16 Posts

    Re: ModelAdmin/Dataobjects ad Ordering Link to this post

    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!

    1270 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.