Displaying 20 results from an estimated 6000 matches similar to: "sortable tables not working because of html escaping"
2006 Aug 01
3
paginate, search, sort with ajax problem
hello I hope somebody can help me figure this out.
found this great tutorial at http://dev.nozav.org/rails_ajax_table.html.
got it working except for one thing.
I can''t seem to make the pagination work. The link_to_remote defined in
the helper is pointing to the wrong url.
I have set up things like so:
defined a search method in de project_controller located in
apps/admin/project.
2006 May 06
7
New Ajax and Rails tutorial
Hi,
I just published the first version of a small tutorial I''ve written on
Ajax and Rails. It is called "How to paginate, sort and search a table
with Ajax and Rails" (sorry, I didn''t manage to find a longer title !)
and is available at :
http://dev.nozav.org/rails_ajax_table.html
There is nothing really new in it, it''s rather a compilation and
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
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 present div to carry all stuff.
function newList() {
var sortlist
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
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
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
2006 Jun 13
0
sortable trees and rjs updates
Hello,
I''m experiencing some odd behavior with a sortable tree when I try to add an
element using javascript via rjs. What''s strange is that things work fine
if I have moved any item on the list prior to adding a new element but
produce odd results if I haven''t.
My tree is a normal nested group of ul''s and I have the call to
Sortable.create in a partial so
2006 Mar 11
0
Adding elements to a sortable after initialisation
1. Is it possible to add elements to a sortable after the sortable has
become active? I guess just inserting new li elements into the list
won''t be enough, is there a way to tell the sortable that it has a new
element?
2. Can I change the containment settings of a sortable after it is
active? I want to add sortables dynamically and want to enable moving
sortables between this new
2006 Mar 21
0
Question for Gurus: Sortable Lists
I''ve been stuck on this particular problem for quite some time now. If I
don''t explain it well enough I''d be happy to explain more.
I have a group of draggables and a droppable object. I''ve created a
function for the Droppable.onDrop event so when I drop one of these items I
check (via an array) to see if it has already been added to the droppable.
If it
2005 Dec 17
0
hoverclass doesn''t seem to be set from Sortable.create
Hey folks,
I''m having a little trouble with the hoverclass parameter of the Sortables.create method. Unfortunately I can''t post a demo page at this time, but I''m creating three lists with the following code:
Sortable.create("listOne", {dropOnEmpty:true,containment:["listOne","listTwo", "listThree"],constraint:false,
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">
2006 Mar 01
0
Script.aculo.us: Dynamic Sortable List Problems
This is my first post to this mailing list so I hope its in the right
location.I''m trying to use a list of draggables (not sortable) which I can
drag into a droppable div. The goal is to create a new item, not to move
from one list to the other.
When a new draggable is dropped, a new div is added to the droppable div and
a sortable is created. Everything is working fairly well, to
2006 Feb 24
0
Adding a new Sortable
Perhaps this is elementary, but I''m having trouble finding something in the
documentation. I''m attempting to create a page with a form for new data
submission and below it a list (a Sortable) of the various records. I''m
unsure how to make the form so that it will automatically create a new
element to the Sortable with the data that gets Ajaxed back from the
server. Is
2005 Aug 04
0
Appended element in a sortable
Hi,
Is there any way to get a sortable to recognize that a new element has
been appended to it without calling Sortable() again? The element gets
added using an AJAX call and it''s not draggable until after I recall
Sortable().
Also, any predictions on when the sortable tree is going to be
included in the library? I''m really looking forward to using it.
Thanks,
Eric Zwick
2005 Jul 20
0
Re: Using sortable.
Thomas,
I am trying to use the Sortable functionality through
a rails implementation.
My sortable container looks like this:
<div class="thumbnails">
<div class="minus_navigation">
<a href="javascript:Photos.selectPrevious()">
<img alt="Move to previous photo"
class="navigation"
2005 Jul 20
0
Using sortable.
Thomas,
I am trying to use the Sortable functionality through
a rails implementation.
My sortable container looks like this:
<div class="thumbnails">
<div class="minus_navigation">
<a href="javascript:Photos.selectPrevious()">
<img alt="Move to previous photo"
class="navigation"
2007 Jul 20
0
How serialize after hiding a sortable element
Hi,
I successfully build sortable environment with back-end "update" into
a mysql database to store positions.
Now I try to close a sortable element and try to update the sortable
elements position of the container.
What is the best way to achieve that ?
An effect.xxxx from scripty to hide the sortable element work fine but
I can''t get the list/position of the remaining
2007 Jul 19
1
Storing order of sortable objects in RoR
I have two sortable lists that you can drag and drop to and from. Each
object in the lists have a position field in the object''s table. I
want to be able to update the position in the database automagically
once a user has sorted the list.
I can drag and drop just fine but I am not able to store the new
positions in the database.
I am trying to use Ajax.request in the onUpdate callback
2006 May 28
1
Sortable.create containment:
hi
i got a problem with a Sortable.create.
i got an array containing the ID of the elements i want to make an sortable
of, that is no problem, but i want to be able to drag between the sortables
and that where my problem is. i dont know how to assign an array to
containment:
until now the script looks like this:
for (i=0;i<id_gruppe.length;i++)
{
Sortable.create(id_gruppe[i]