mpryvkin / jquery-datatables-row-reordering

JQuery plugin that enables drag and drop row reordering in the tables enhanced with JQuery DataTables plugin.
https://www.gyrocode.com/articles/jquery-datatables-row-reordering/
6 stars 8 forks source link

Adding succes callback function #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

First thank you for this wonderful plugin.

This plugin only have a callback function on error, I add a success callback 
function to notify user.

Attach new file with minor changes I made.

Sorry to be so brief, but my English is very bad.

Thanks.

Original issue reported on code.google.com by marcmasc...@gmail.com on 4 Jul 2013 at 10:12

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,
Thank you for this update. I have included your code however slightly changed. 
Instead of fnSuccess function, by default is placed jQuery.noop. I believe that 
in the most cases users do not want to see alert on each reorder. However, now 
you can explicitly define this option if needed.

Regards,
Jovan

Original comment by joc...@gmail.com on 30 Jul 2013 at 2:16