» Home » Sortable » Page 1
How to fix “This repository can be attached only to ORM sortable listener” error in Gedmo sortable?
Category : Development Tools & Services

When usieing StofDoctrineExtensions (which is a Symfony2 port of Gedmo Doctrine Extensions) Sortable behaviour I kept on getting this error:


This repository can be attached only to ORM sortable listener


Since I could not easily find the answer in official docs I'm leaving an answer here for future reference.


View Replies


jquery UI sortable - allow drag of image embedded in sortable div to result in start of div sorting
Category : Coding

Sorry, I really have no idea how to phrase this, so apologies for the long title. I have a table column filled with divs that are sortable (using the jquery ui sortable plugin). Each of those divs has an image child. Currently, when I attempt to drag the div by clicking on the image portion of the div, the div does not drag. Obviously, I want to div to drag when I click on the image (or any


View Replies


jQuery UI Sortable doesn't refresh after cloning and appending a new sortable list
Category : Web Design

OK, what I'm trying to do here is to have jQuery UI update the sortables that are displayed on the page when a new column is dynamically added to the page by cloning it. If you clone a column (demo page) the new column should be able to receive both items from the existing column lists as well as new items that can be dragged from list A at the top into one of the sortables. This works fine for


View Replies


jQuery sortable() - move elements to connected list before first element that is not sortable
Category : Coding

I have two connected sortable lists. The second contains only one element and it can't be moved ( but the list is sortable ).


When I move element from the first list to the second, I can't add the new element as first element of the second list.


Always first element of the second list is 5 (in this example). http://jsfiddle.net/fuQ4Z/ Example .



View Replies


Preventing a table's headers from being sortable using JQuery Sortable plug-In
Category : Web Design

I have an HTML table:


<table id="HatedByCSSOnlyGoons">
<tr><td>Header 1</td><td>Header 2</td></tr>
<tr><td>Data</td><td>Data</td></tr>
<tr><td>Data</td><td>Data</td></tr>
</table>

and I'm applying the JQuery Sort


View Replies


jQuery sortable (how to customize the clickable area inside the sortable box)
Category : Coding

I have this jQuery code:


$(".right_box_holder").sortable({
update : function () {
var order = $('.right_box_holder').sortable('serialize');
$.get("right_menu_functions.php?change_sortorder&"+order);
}
});

and this HTML code:


<div class='right_box_holder'>

View Replies


Issue with sortable() and how to limit number of sortable items using JQuery
Category : Programming Languages

I have two things to ask for. Here is my reference code: http://jsbin.com/axegem/19/


Issue: When I drag and drop divs within one parent, every thing is fine. If I drop the element onto other parent, I see my Dropped() event is called twice. To make it more clear, if I drop DIV 3 after DIV 6 (with respect to my sample code), I see the alert coming twice. Why is this so? This is suppo


View Replies


Jquery sortable divs not sortable after being saved and pulled from database
Category : Programming Languages

I created an adhoc reporting tool that allows users to drag and drop different reporting elements from a menu to a container div. They can then sort the elements and save the report to a database. I am saving all the html in the container div to a MySQL database. The problem is, is when the report is pulled back out. I can no longer sort any of the saved elements only new elements that have bee


View Replies


JQuery Draggable + Sortable: How to tell if item was actually added to my sortable list?
Category : Programming Languages

OK, I'm probably missing something obvious here, but my searches aren't turning up anything helpful. I've set up a sortable list and connected a draggable "palette list" to it, as explained here: http://jqueryui.com/demos/draggable/#sortable


I can drag items from my draggable list and drop them on my sortable list. That works fine.


I need to fire a function only when o


View Replies


JQuery .load() removing .sortable() function from sortable list
Category : Programming Languages

I will try to explain my problem with as little code as possible.


Basically I have several sortable lists connected in the usual way. Each item in the list has some hidden elements that are toggled with a button on the respective items. There is also a second button that causes the list item to slideUp and be removed from the list - then being sent to a new list. This works in conju


View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .