Displaying 20 results from an estimated 10000 matches similar to: "AJAX drag and drop sorting with pagination"
2006 Mar 31
2
RE: drag and drop sorting with an empty lis
I ran into this issue too. My solution was to add an "onUpdate" function to
the sortable that tests the container to see if it''s got any children or
not:
function is_empty(container)
{
if ($(container).hasChildNodes()) {
Element.removeClassName($(container),''empty'');
} else if (!$(container).hasChildNodes()) {
2006 Mar 23
3
drag and drop sorting recipe
The new pragmatic Rails Cookbook has a drag and drop sorting recipe. Does
anyone know if this works with 1.0?
I''ve followed the recipe (i think), and I can drag but when I drop
everything goes back the way it was. It seems that the sort logic doesn''t
get invoked.
I put this code in my view:
<%= sortable_element ''task-list'' ,
:url => {
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
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
2006 Mar 29
2
can you do drag and drop sorting with multiple lists?
Has anyone extended drag and drop sorting to work with multiple lists? I''m
looking for something like this
Best Roles for actors (in order of preference):
Mary Bill Jane
(actors/actresses)
The Queen Joker 1st Angel
Beggar woman Chief of guards Dog Catcher
2nd thief
2006 Aug 09
1
Can I use drag-and-drop for this?
I want to be able to drag an image somewhere in the browser, and then
call an action based on where it''s dropped. Actually I''d probably
want to call the same action regardless, but send it particular
parameters based on where it dropped. I''ve seen the sortable list
demos, but I''m wondering if I can do something more flexible like
that. Any ideas?
Pat
2006 May 15
3
Drag and drop tutorials/examples?
Just finished our first proper rails app and I''m trying to add some AJAX
effects for the first time. I''ve got Rails Recipes and the Rails
Cookbook, none of their examples seem to be a good fit with what I''m
trying to achieve. Which is...
I have 2 lists of users. One for assigned users, one for unassigned
users. I want to be able to drag users between the lists to
2005 Aug 04
12
Sortable table
Hi guys,
I have a question that I haven''t been able to find an answer to yet. I''m
hoping I can find an answer here. I would like to be able to allow a user
to visibly sort the order of rows of a table. I have a table that is used
to display tabular data. It allows users to dynamically add rows of tabular
data to an existing table. I would like to enable the user to be
2006 Jun 16
6
Drag and Drop work in IE?
Please,
I''m build an drag and drop tree using scriptaculous and it is perfect in
FF but when I test in IE don''t work, I drag the element and when I free
the button the element don''t go to the place, stay in the mouse pointer...
What can do it happen? I''m using last version of scriptaculous.
Thank you,
Pedro
2005 Dec 05
3
Multi-level drag and drop in scriptaculous?
I am trying to create a screen like Google''s personalized home pages or
start.com, i.e., with draggable sections, with the extra feature that
the child items under the parent headings could be dragged and dropped
from one parent heading to another.
I have set up nested droppable sortables (dropOnEmpty=true) but the
behavior is very inconsistent, i.e, parents do not become droppable
2005 Jul 13
2
A small question about dragging effect on sortables
Hello,
I''m implementing sortables in Rails and I can''t seem to get the
lovely effect from the Sortable Floats Demo on Thomas'' wonderful site:
http://script.aculo.us/drag-and-drop#sortable-floats-demo
Simply put, I can''t get the effect whereby you''re dragging the image.
When I have a vertical or horizontal constraint on a list, the effect
2008 Jul 01
2
Sortable, stop event on drop
I''ve got a "Sortable" list that is sorting just fine. But in the list
items, there is a link. If you mousedown on the link, drag it to a
new location and mouseup, the list gets reordered appropriately, but
then the link is followed (you did - after all - click it). Is there
a way to either stop the mouseup/click event before activating the
link after you''ve dragged
2006 Mar 22
2
RE: Support for window scrolling for drag anddrop
Will that work with Sortable as well?
> -----Original Message-----
> From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-
> bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Thomas Fuchs
> Sent: Wednesday, March 22, 2006 12:48 PM
> To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
>
2006 Nov 24
1
sortable or drag/drop for tables
Is either sortable or drag and drop doable for table elements ?
I looked at the wiki and didn''t see anything. Noticed the demos and
such are done with <ul><li> ''s
I''m wondering about <td> ''s ?
TIA
Stuart
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
2006 Jul 19
4
sorting and pagination
Hello All,
Okay i think I''m finally getting all of what i want out of ferret
working, thanks mostly to reading this forum and also getting ALOT of
questions answered, thanks alot everyone. Anyway my last ferret task is
too get the results sorted by a field called date_registered and have
this working with pagination.
here is what i''m doing at the moment:
2006 Feb 10
2
Sortable + Draggable : doesn''t follow the mouse horizontally
When a ''draggable'' element is made ''sortable'', it no longer follows the
mouse horizontally when you drag it.
Is there a solution/workaround?
TIA
Alain
2005 Jul 19
1
Nested drag and drop rendering issue with ie
First and foremost, excellent library - excellent work. Thank you.
Now, here''s what I''m doing:
<div id="wrapper">
<fieldset id="page_1">
<legend>Page</legend>
<fieldset id="group_1">
Group
</fieldset>
<fieldset id="group_2">
Group
</fieldset>
2006 Sep 29
1
Error on drag n drop list after refreshing list using AJAX
My web page (developed in php and MySQL)is having a table with each
table cell having a list of related information as list item.
First, the list is performing well when page is loaded (i.e. multiple
lists are created and list items can be dragged and dropped on each
other lists).
Whenever double click on specific cell, it''ll invoked ajax function
(created by myself) to refresh the
2005 Sep 14
13
table sorting/manipulation library?
I have a library I''ve developed that I believe is the most flexible and
useful table sorting/striping/row-selecting library around.
Big features:
Single and multiple-level sort
Arbitrary sort criteria (IP address, date, etc.)
Works with table headers that are > 1 row or column large
Stripe tables and/or enable row selecting
Row selecting supports drag-select and SHIFT-click
No extra
2006 Jan 11
3
DataGrid (Table) using tables/Scriptaculous Sortable
Hey yall,
I wanted to share some code I''ve been working on as it seems up the
alley of folks on this list. It''s not rails, per se, but one day...
DataGrid: http://development.finetooth.com/?p=6
This also showcases the option.delay perameter I''ve submitted into
scriptaculous - hold down your mouse for one second on any column other
than Vendor and then drag away ;) The