angular-ui/angular-ui.github.com

ui sortable demo is missing

abdulazeezsk opened this issue · 8 comments

Hi,

ui sortable demo is missing in the latest page

Is there any update for this directive?
I'm trying to use it the multiple list and move element from one list to another but it seems that the configuration of the ui-sortable is not read at all. Same thing for the 'cursor' like in the JQuery UI Sortable demonstration.

I've had no luck with ui-sortable configuration as described on the readme page. I'm trying to make lists connectable.

I did have a little success after using the ui global configs.

myapp.value('ui.config', {
    sortable: {
        placeholder: "placeholder",
        connectWith: ".connectable",
            update: function(e, ui) {
          console.log(ui);
        },
    }
});

http://jsfiddle.net/webbo89/HfZHC/ (forked from basic example: http://jsfiddle.net/g/hKYWr/)

The above demo is broken: items can be dragged into other lists but the angularui seems to break with models & lists being messed around.

Forced to settle for a single list implementation:
http://jsfiddle.net/webbo89/HfZHC/1/

Will be fixing this with angular-ui/angular-ui-OLDREPO#340

Hey, Could you point me where is the file which contains demo for sortable-ui. I would like to add the demo how to connect to table or list.
Thanks in advance.

There is no such file. I was about to create one but it would help me out if you did it :)

Dean Sofer
DeanSofer.com
714.900.2254

On Wednesday, January 30, 2013 at 1:13 AM, jaroslawZawila wrote:

Hey, Could you point me where is the file which contains demo for sortable-ui. I would like to add the demo how to connect to table or list.
Thanks in advance.


Reply to this email directly or view it on GitHub (#18 (comment)).

Cool :) I will do it over weekend. Is it ok ?? just let me know where should I place it please .

Wherever you want dude. Just not the top. And probably not the bottom.

Dean Sofer
DeanSofer.com
714.900.2254

On Wednesday, January 30, 2013 at 1:17 AM, jaroslawZawila wrote:

Cool :) I will do it over weekend. Is it ok ?? just let me know where should I place it please .


Reply to this email directly or view it on GitHub (#18 (comment)).

Sorry dude, I just ended up finishing what I had already started: #38

It incorporates the new fixes from v0.4.0 and will be merged when v0.4.0 is released.

Feel free to build on top of it however :)