similar to: sortable table rows?

Displaying 20 results from an estimated 2000 matches similar to: "sortable table rows?"

2006 Apr 21
13
Sorttable.js
I have come across this neat Javascript table sorter at http://kryogenix.org/code/browser/sorttable/ It seems straigh forward to use but i cant get it to work. I have included in the head <script src="javascripts/sorttable.js" type="text/javascript"></script> In the View <table class="sortable" id="anyid"> <thead>
2005 Aug 12
8
Sortable Tables
I''ve put together a little library to provide sortable tables. It is heavily copied from http://www.kryogenix.org/code/browser/sorttable/ (mentioned in the Wish List) but has been modified to match the same form as the prototype.js library and add some new features. I still need to clean up some of the comments, but everything is pretty much working at this point. I posted an
2005 Nov 07
1
treeview, master detail forms, sortable grids, etc..?
Are there any (preferable opensource) pre made widgets like calendar widgets, treeviews, sortable grids, etc.. that I can pluginto a rails application? If they are not build in Rubyy, then are there any examples an how to integrate them? John McClain Senior Software Engineer TCS Healthcare jmcclain-RI2jYlfFOOy2dUpmj6OxPQC/G2K4zDHf@public.gmane.org (530)886-1700x235 "Skepticism is the first
2006 Jan 24
8
scriptaculous sortable
Hi, maybe I am using this the wrong way but I have a list as follows <ul id="secondlist"> <li>bla bla</li> <li> bla bla </li> </ul> and then I add dynamically further <li> elements and create a Sortable but the onUpdate only fires for <li> items that have not been created via Javascript. Any clues? <script
2006 Oct 19
2
OT :JavascriptSortableTables
I found this on the rails wiki http://www.kryogenix.org/code/browser/sorttable/ Looked farily easy, class and id for the table. Dropped the JS in to application.js. Problem is it''s putting the sort link on the first row of data and not on <thead> Anyone know how to fix it ? Here''s a bit of my table: <table class="sortable" id="poso">
2005 Oct 26
1
Problems with Prototype 1.4_rc0/1 and sortables
Cheers, I use the javascript lib from http://www.kryogenix.org/code/browser/sorttable/ to sort tables. With prototype 1.4pre11 and earlier sorting in Firefox and IE works, with RC0 and RC1 it does not. Safari worked with 1.4pre6 or 7 but does not work with pre11. Somebody also seeing this? Regards, Jonathan -- Jonathan Weiss http://blog.innerewut.de
2006 Mar 28
0
Moving all items from one Scriptaculous box to another
I posted the following on news://comp.lang.javascript, and someone kindly replied suggesting I should try on this mailing list. (Please excuse very long lines - I carefully format line endings; but Microsoft Outlook, which I have to use at my client site, then takes it upon itself to rearrange and remove most of my linefeeds! :-< ) I am using Thomas Fuchs''s amazing drag-and-drop
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 is created (by cloning an invisible
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?", before I dig too deep into it. "accept" for the droppable is set to the
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
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" so that draggables in a Sortable won''t truly become activated until after the
2006 May 24
1
Sortable: Ajax not firing?
Using Rails to generate a sortable list, I get the draggable/sortable page elements, but Ajax never fires back the post-sorted list. (I''ve checked with IE & Firefox, the "save this order to the DB" controller hasn''t been called.) The View: <p>Drag to sort.<span id="sort_info"></span></p> <ul id="sort1">
2005 Jul 18
1
fix for scriptaculous dragdrop.js empty list problem
Hi Thomas, Here''s a fix for the problem that I raised this morning, turned out to be fairly simple in the end (after many false starts and thrashing about - thank goodness for Venkman!) First, in Sortable.create(), I register the parent element (the UL tag or whatever), and add an extra property to it to mark it as the parent of the list in question: for (var i = 0; i <
2006 Nov 24
1
sortable - after complete dropping element want to send ajax reqeust with id of elements: draggable and droppable
Hi all. I have specific situations - I use sortable on html list, and after I move elements I want to do ajax reqeust to serwer with the id of dragging element and id of the element that was droppable. How to do it? which function in Sortable class i have to overrider or modify? i try to modife onhover method in sortable and put a ajaxRequest call before methods dropon.parentNode.insertBefore
2005 Jul 19
0
quick dragdrop question
Hi, I want to do some custom logic on items being dragged and dropped - I need an event callback that has a reference to both the element being dropped (the LI), and the target element that it''s being dropped onto (the UL). I''ve found the Sortables.create option for creating an onUpdate and onChange handler, and done the following: function selectItem(target){
2006 Jun 14
5
Sortable Tree - Stoping Event dispatch ?
Hi, I''m trying to play with sortable tree and have two issues: I have an AJAX Tree looking like: <ul class=''TreeCat'' id=''work''> <li class=''open''> <img src=''s.gif'' class=''node'' onclick="Ajax.Tree.toggle(event,this);"/> <a
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 behavior. Part of the problem is the draggable and the draggableObserver are
2005 Jul 20
3
examples of drag n drop
Sorry if this sounds cynical, ( i do love script.aculo.us scripts ) , but I am wondering if people know of some good real world examples of uses of drag n drop and sortable lists. such a cute script will likely be *ab*used as much as it is used. obviously the point here is to use script.aculo.us to improve the user interface rather than just have some k00l eFX. e.g. the drag n drop instantly
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
2005 Jul 07
2
Allowing drops on "empty" sortable
Hey folks, On the Drag and Drop demo page in the Sortable Lists Demo section: http://script.aculo.us/drag-and-drop If you drag all of the items from the first list into the second list, it appears that you cannot drag a list item back into the first (now empty) list. Is there a way to allow a Sortable that is empty of draggable items to accept dropped items? Danilo