search for: sortable

Displaying 20 results from an estimated 392 matches for "sortable".

Did you mean: portable
2005 Oct 11
8
Sortable as a class?
Hi there! My first post to this list, so first of all many thanks for the amazing Scriptaculous library. I''m currently using it for some nice Ajax effects in Apache Cocoon (http://cocoon.apache.org/). I''m currently struggling with Sortable, which I would like to adapt as the conventions used in Cocoon are different from those currently used. Basically, I would like to send back to the server a request saying "move=foo&from=3&to=5", meaning that item 3 in the "foo" element has been moved to position 5....
2006 May 29
1
Re-orderable column DataGrid + Patches for Sortable.delay and Sortable.ignorePositionXY
I would love to get some feedback and test a patch to rev. 4380. First, the money shot - check out this demo of a scriptaculous DataGrid: http://development.finetooth.com/?p=13 I''m using the <tr> as a sortable with the <th>''s as the sortable elements. The Patch file: http://www.commoner.com/~lsimon/scriptaculous/delay_and_ignorePosition_forSortables.diff The patch adds two pieces of functionality used in the demo: 1. Sortable- options.delay FunctionalTest: http://www.commoner.com/...
2005 Aug 05
4
disable Sortable
Can a Sortable be disabled/deactivated/destroyed once it''s been created? I''ve tried a few different things with no success. Here''s what I''m doing: I have an ordered list. When a particular event happens, I created a Sortable from the list. I clone the list prior to creating t...
2006 May 19
6
Multiple dynamic Sortables
I''m writing an appliation that contains several dynamically created lists. I had hoped that the following method for using the Sortable library from scriptaculous would work: 1) create the list 2) create a Sortable for it 3) create another list 4) create a Sortable for it and so on. Unfortunately this doesn''t work. I can''t find any info in the documentation for Sortable.create[1] about this behavior. However, on...
2005 Aug 24
1
Strange Bug - Dragging a sortable filled with sortable - the bigger one "stays"...
*** don''t know if i''ll be clear... if not, tell me Hi. http://favoris.lichenmedia.com/untitled.htm I don''t know why, but when I drag those sortables (tagged with the handle handle) filled with the sortables (the lists with lorem ipsum) The handled-one "stays" where you dropped them. When you drag the li between the uls that are the big containers, no problems. li : the tyniest sortable. sortable between the 4 lists ul : those are t...
2005 Oct 13
6
performance
I''ve got a page I''ve implemented a bunch of observables and sortables. There are around 330 items in the list. The Observables (for hide/show of sublists) don''t seem to impact performance, but the Sortables take a very long time to load when the page is refreshed or submitted--even after accounting for the server-side processing and latency. I'&...
2005 Jul 25
5
dragdrop.js: drop from sortable
I have a Sortable that''s working like a charm, but now I would like to be able to drop objects from that Sortable onto a Droppable that''s not part of my Sortable. I just did a small test page where it didn''t work, so my first question has to be "is this supposed to work?", befor...
2006 Jul 17
1
sortable_element - Altering defaults set by rails
Hi there, I''ve got the following code to generate two sortable elements but whenever someone drags and drops an item, i only want it to return a serialised list of the items in categoryartworks, the unlinkedartworks can be in any order and I don''t care. I can then delete those artworks that were in category artworks but aren''t in the seri...
2006 Jun 24
0
Sortable with sortables? this.destroy not a function O_o
Hi all I am creating sortable list with the builder. Now i want these sortables to be a sortable aswell. So i wrap a div around them and run sortable create on the main-container. I have it like so (simplified): var myLists = new Array(); // start a empty array for push var mainDiv = ''main''; // some already...
2007 Aug 27
4
Sortable + Table = Ouch!
I have an HTML table I am trying to "retro-fit" with a sortable such that a cell in one column/row and be moved to another. What I have tried in tyerms of formatting looks akin to: <div id="schedule"> <table> <tr> <td><div id="one">Some Text</div></td> <td><div id=&qu...
2006 Mar 07
1
Sortable trouble
Hi everybody, Could somebody have a look at a little sortable example at http://www.weisshuhn.de/diagnose/sortable.html It implements two Sortables and a Draggable. You can drag elements from the "source" Sortable to the main Sortable, sort them (surprise) and drag them to a trash. Whenever you drag from the "source", a new element...
2006 Jul 26
3
Reorder lists only after clicking link
...don''t want the list to be draggable until someone clicks a button (or link) to enable the reordering. My only idea so far is to have the drag handles hidden with javascript and the show them onclick, but this is messy. Is there not a clean way to do this? Is there a way to uncreate a sortables list? (the opposite of the method that creates them. that would solve the problem I think.) -- :// Nathan Herald
2007 Nov 30
2
make sortable divs and innerHTML
My problem is that elements that were included in my site with innerHTML can´t be sortable because the DOM doesn´t know that these elements are there. Has anybody a solution or an idea to this problem? ToM --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to t...
2006 Mar 23
4
Implementing nested drag and drop using scriptaculous
Hi. I have gone through the scriptaculous wiki. I am trying to implement nested drag and drop but not able to do this. The situation is like this. _____________________________ | abc | => Box1Line1 | cde | => Box1Line2 | efg | => Box1Line3 | h | => Box1Line4
2005 Dec 28
3
Sortable - can we make one or more elements in a list sticky?
In a sortable list, is there a way to say, pass a className whereby some of the elements in the sortable element would not become draggables/droppables? If not, it seems like it could be implemented similarly to the handle option.. Any interest? Also - I submitted a patch that adds the option "delay"...
2007 Nov 02
3
script.aculo.us: onUpdate in Sortable.create
Can''t seem to get the onUpdate to work in for a sortable list. I am following the documentation and the included functional tests but nothing is firing for me. Any idea why? Sortable.create(''list1'', { tree:true , onUpdate:function(sortable){ alert(''onUpdate'') } , handle: ''handle'...
2006 Mar 30
4
possible scriptaculous bug
I have two sortable lists, one after the other. I can drag from the first to the second but not from the second to the first. The behavior is consistent if n > 2. For example, I can drag from 1 to 2, 3 or 4 from 2 to 3 or 4 and from 3 to 4, but not in the reverse order: I can''t drag from the 4th list t...
2006 Jun 15
2
Drag and Drop Sortable Tree
I''ve gone through Chad Fowler''s recipe for creating a drag and drop sortable list, and have been trying to extend this to a sortable tree. Has anyone come up with or seen code which allows drag and drop sorting (altering the position and parent_id variables of the relevant objects) but for data in a nested tree rather than a list form? - Justin _________________________...
2005 Sep 19
0
Sortables and not-Sortables
...just a little different from the scriptaculous demos. My application has a shopping cart-like setup, where the user needs to drag an item from the main content area to a particular position in the cart. I don''t want to be able to sort items in the content area. That is, the target is a Sortable list, but the source is not. Problem one was that I don''t actually want to move the dragged item, I want to show a label next to the cursor instead with a more consise summary of what''s being dragged. It looks like I''ll be able to get around this by having the drag ha...
2006 Feb 01
1
Sortable onUpdate problem
Hi, I have two sortables with different options (but same tags. just ''li''). When I drag an item from sortable1 to sortable2 I want it to gain the options that the sortable2 items have. I''ve tried all day to understand how Draggables and their observers are destroyed but I keep gettting buggy be...