Open GoogleCodeExporter opened 9 years ago
Hi,
Yes but this is how plugin works - it is always sorted by indexing column.
Reason for this is simple - if you would try to sort by other columns and
shuffle indexes (e.g. 7,1,9,2,8) plugin cannot determine what is new order
position of the dropped row if it is placed on second place (between 7 and 1).
Therefore this plugin forces fixed ascending sort on the indexing column to
preserve order.
Regards,
Jovan
Original comment by joc...@gmail.com
on 1 Mar 2012 at 3:21
I can see wanting to reorder records. But once the reordering is done and I
have my seq numbers set in database, for analysis purposes i want the
capability back to just be able to click on sort for the other columns.
Could drag and drop not be auto disabled if that Seq column is not the one
on sorted.
Drag and drop is a nice feature and all, but once u are done reordering ya
records you no longer needed it, until new records arrive that is. lol
On Thu, Mar 1, 2012 at 7:21 AM, <
jquery-datatables-row-reordering@googlecode.com> wrote:
Original comment by rudy...@gmail.com
on 1 Mar 2012 at 5:00
Hi,
You always can optionally include row reoprdering something like:
var oTable = $("#myTable").dataTables();
if(bAplyReordering)
oTable.rowReordering();
Jovan
Original comment by joc...@gmail.com
on 6 Mar 2012 at 12:06
So nothing like?
$("#myTable").dataTables()rowReordering().fnDestroy();
Original comment by rudy...@gmail.com
on 15 Mar 2012 at 12:25
I don't understand you. What you want to achieve with fnDestroy?
Original comment by joc...@gmail.com
on 16 Mar 2012 at 8:47
Am a newb to js and jQuery. I just want the capability to EASILY turn OFF the
reordering add-on and go back to the defaults of dataTables. But nevermind:)
I'll figure something out:)
Thanks
Original comment by rudy...@gmail.com
on 17 Mar 2012 at 2:43
[deleted comment]
How to disable plugin after enabling it? I mean I want to go back to column
ordering withoout page refresh. Actually I think Rudy above tried to ask same
thing...
BTW: Thank you for the great plugin :)
Original comment by baco...@gmail.com
on 15 Apr 2012 at 4:33
I have the some problem as people above. When deleting RowOrdening, everything
works
Original comment by c...@ceesvanegmond.com
on 9 Oct 2012 at 2:22
Did anyone find a solution for deactivating the rowreordering plugin?
Original comment by torstein...@gmail.com
on 23 May 2014 at 7:11
Same issue here. Would be nice to be able to sort client side
Original comment by cmptrwiz...@gmail.com
on 29 May 2014 at 8:26
$("tbody", oTable).sortable({"disabled" : true});
$("tbody", oTable).sortable( "enable" );
after digging a little found the solution for it
Original comment by er...@esparksolutions.com
on 30 Jun 2015 at 11:06
Original issue reported on code.google.com by
rudy...@gmail.com
on 1 Mar 2012 at 3:22