angular-ui-multi-sortable icon indicating copy to clipboard operation
angular-ui-multi-sortable copied to clipboard

multi sortable in horizontal mode

Open eransc opened this issue 11 years ago • 3 comments

I'm building a widgets dashboard app where the dragging of the box is horizontal inside each row or between them

The dragging placeholders is based on row and not on column What would you reccomend ?

eransc avatar Dec 18 '13 06:12 eransc

Isn't styling containers as a rows (horizontal) enough? I mean you don't need to have columns, you can freely define your containers so they can be seen as rows by user too.

mostr avatar Dec 18 '13 07:12 mostr

styling is no issue - please look at image m-sortable1.png

but when trying to drag items in the same row , i.e: dragging item2.2 on item2.1, item2.1 is pushed down and the placeholder is row based and not column based.

Any ideas?

m-sortable1 m-sortable2

eransc avatar Dec 18 '13 07:12 eransc

I guess it's jquery related stuff, not Angular. For now I have no idea how to make it working. You need to dive deeper into jquery sortable I'm afraid.

On Wed, Dec 18, 2013 at 8:37 AM, cgweb [email protected] wrote:

styling is no issue - please look at image m-sortable1.png

but when trying to drag items in the same row , i.e: dragging item2.2 on item2.1, item2.1 is pushed down and the placeholder is row based and not column based.

Any ideas?

[image: m-sortable1]https://f.cloud.github.com/assets/816700/1771428/dde28930-67b6-11e3-91a3-f5d97fbc36df.PNG [image: m-sortable2]https://f.cloud.github.com/assets/816700/1771429/e46f418a-67b6-11e3-8953-e340d3d3c319.PNG

Reply to this email directly or view it on GitHubhttps://github.com/mostr/angular-ui-multi-sortable/issues/13#issuecomment-30822325 .

Micha³ Ostruszka http://michalostruszka.pl

mostr avatar Dec 18 '13 10:12 mostr