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'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.

Customising the CMS /

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

Dragable sort in model admin


Go to End


6 Posts   2642 Views

Avatar
tbilyn

Community Member, 9 Posts

17 June 2011 at 10:58pm

Hi guys,
I need a help

I have model admin manage StoryPage page type.
I need to make available to sort pages by dragging them in the model admin search results.

How to do this? Can you help me?

Avatar
swaiba

Forum Moderator, 1899 Posts

18 June 2011 at 4:30am

not in the search results, however if these were displayed in a has_many... this might help...

http://silverstripe.org/sortweight-module/

Avatar
tbilyn

Community Member, 9 Posts

23 June 2011 at 8:50am

Thanks, swaiba
I found a way how to use sortweight-module for my needs
thanks a lot

Avatar
szpak

Community Member, 1 Post

12 August 2011 at 7:55pm

Hi,

Can you share the info how you used sortweight module for dragable sorting outside of the N:x relation?

I'm looking for a way for a client to reorder the DataObject in ModelAdmin list. It must by as simple as possible. Some kind of drag will be the best.

Avatar
Pipifix

Community Member, 56 Posts

9 March 2012 at 1:40am

Hi,

I'm interested in this info, too. I got an dataobject (items n<700) in ModelAdmin. Thats way too much to sort by hand. Thanks…

Avatar
swaiba

Forum Moderator, 1899 Posts

9 March 2012 at 1:45am

Actually sort wieght ended up being a dead end... but https://github.com/ajshort/silverstripe-itemsetfield does the job perfectly