There might just be an update i'm not aware of according to this post, but i have some trouble with the sortable; nothing get sent (neither firebug nor my controller get anything) - any browsers.
On rails using this very good post
Big thx for any info about it.
...
I got a table which uses jQuery UI's sortable. The first column contains the order number of each row. How do I automatically sort the numbers (in ascending order) in the first column when I sort the rows? This means that only the numbers in the first column will be sorted.
Thanks in advance!
...
I have a list powered by jQuery UI's sortable that allows a user to order line items. I want to have a number that represents the position of that object after it is dropped.
<ul>
<li><span class="number">1</span> Apple</li>
<li><span class="number">2</span> Microsoft</li>
<li><span class="number">3</span> Canonical</li>
...
I have a working sortable portlet running with php and mysql.
My problem is i cant get the delete function working with just the icon inside the portlet-header.instead the deleting covers to complete portlet class (what makes sence) however i need it only for the ui-icon-closethick
$(function() {
$(".portlet").click(function() {
va...
This should be my last question on Jquery Sortable...for a while :)
I have a list that I'm able to remove elements from dynamically. when users click the X close box on the element, I get the parent (the element itself) and remove it:
function DeleteLink() {
var jItem = $(this).parent();
var LinkId = jItem[0].chil...
This plugin (jQuery UI's Sortable) gives me behavior I prefer if I use a list, but I need divs in order to get the formatting I want. Specifically, with a list it gives me good positioning, and it knows the right direction to shift things out of the way in. Everything works better with a list - except the formatting stuff I need from the...
In the standard behavior demonstrated at http://jqueryui.com/demos/sortable/ when you drag an item in the list a placeholder element is displayed where the item would be dropped.
However, the original location of the item to be dropped is not indicated.
I would like to leave the original location visible until the drop, so that the v...
In the example given at http://jqueryui.com/demos/sortable/#placeholder the placeholder is the orange box that appears when you drag any of the items.
This element can be tweaked using the placeholder option -- but it only lets you modify the class of the element as described here: http://jqueryui.com/demos/sortable/#options
I would li...
Greetings,
I'm in need of implementing functionality equal to that of jQuery UI's Sortable method:
http://jqueryui.com/demos/sortable/
However, I'm not able to use a version of jQuery 1.3+. There is other functionality on the pages that is dependent on the older version which ceases to work when upgrading the older version of jQuery.
...
I am trying to implement drag and drop so I can sort lists of data and update the database with the relevant positions.
I have a working example but when I try to use the same code on lists that are brought in via ajax the event is binding but none of its methods are triggered and the items do not stay swapped, (They swap back when you ...
Is there any way to have a jQuery sortable list show a placeholder for where the initial item was when you drag one out to sort?
i.e. when a user goes to move one of the LIs in my list, I want a rectangle outline to show where the one they're dragging came from.
...
Hi,
I cannot find out how to obtain destination element with jQuery UI sortable.
$("#pages").sortable({
opacity: 0.6,
update: function(event, ui) {
var first = ui.item; // First element to swap
var second = ???? // Second element to swap
swapOnServer(first, second);
}
...
Hello,
I'm trying to create an interface similar to IGoogle, where I would have different DIVs populated with links (UL/LI - list items) and user could drag the items from one div to another.
To be more precise, I want to have one DIV that has all the available list items and other DIVs that are user defined (user drags items from the...
I have a sortable list I'm working with that can have elements added and removed by another script through jquery and am having an odd problem. These newly generated items appear to be draggable, but they don't actually sort unless I have them already there at page load. I've tried using sortable('refresh'), but it seems to have no effe...
I have a schedule table I'm using jQuiry Sortable for editing.
Each day is a UL, and each event is an LI.
My jQuery is:
$("#colSun, #colMon, #colTue, #colWed, #colThu").sortable({
connectWith: '.timePieces',
items: 'li:not(.lith)'
}).disableSelection();
To make all LI's sortable except those with class "lit...
I have a problem with a jQuery UI 1.7.2 sortable list in Firefox 3.6, IE7-8 work fine. When I'm scrolled down a bit, the helper element seems to have an offset of the same height that I'm
scrolled down from the mouse pointer which makes it impossible to see which item you originally started dragging.
How do I fix this or work around the ...
I'm trying to use jQuery ui sortable but it's not working out for me, it's having scroll offset issues when scrolled in Firefox. The goal is to have a list of <li> tags that a user can re-order with their mouse.
My question is, what alternatives exist for that plugin?
...
Hi, I have a sortable unordered list on the bottom of my page, which works perfect in Firefox. However, in Safari/Chrome the grabbed listitem jumps instantly to the top of the page when I want to drag it, like the UL is on top of the window. Does anyone know what's going on here?
Thanks. Lex.
Here's the code:
HTML (and PHP):
<ul id="...
Hello
Hoping that using something like this demo it is possible to drag items within and between two columns, and update their order either live or with a "save" button to MySQL. Point being that you can make changes and return to the page later to view or update your ordering.
http://pilotmade.com/draggable2.html
Doing it for just on...
Hi everyone,
I'm having an issue with jQuery sortables. I'm using it to develop an iGoogle-like dashboard by creating 3 columns. All 3 contain sortable divs and are connected to each other using the connectWith option.
The issue I'm having is when trying to drop a div at the bottom of a sortable column; it just doesn't want to happen. ...