
I am working on a project where I need to make a list of items sortable. Naturally, I used jQueryUI’s sortable component. Now it works great for elements like ul, or ol or any other html structure.
In my case the items were in a table and I had to make the tr’s sortable. Implementing the sortable gave me the desired behavior. Here is the code I used:
$('#tblSort tbody.content').sortable(
{
cursor: 'move'
});
But while dragging the rows, the width of cells inside currently dragged row was getti...
Published on February 28, 2012 04:26