Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Reorder elements in a grid:http://jqueryui.com/sortable/#display-grid #30

Open
oacnqqcom opened this issue Oct 30, 2014 · 4 comments

Comments

@oacnqqcom
Copy link

Hi kornel,

first of all, congratz to slip.js - works really nice.

I was wondering though if there's a way to make grid rows drag & droppable, too?

But the way, so far I've found this:http://jqueryui.com/sortable/#display-grid
To arrange sortable items as a grid

How to achieve this effect on Slip.js?

thx in advance

@kornelski
Copy link
Owner

It's not possible out of the box. You would have to rewrite how slip.js finds elements before/after the current one.

https://github.com/pornel/slip/blob/a4145da90803538c546136470140f9c280864c54/slip.js#L374 etc

@oacnqqcom
Copy link
Author

thanks!

@Andrinoid
Copy link

Nice library!

This might be similar question but is it possible to change the axis to x?
Similar to jquery.ui where you can set axis: 'x'

@carter-thaxton
Copy link
Collaborator

We love pull requests!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants