yash-arsenal / jquery-datatables-editable

Automatically exported from code.google.com/p/jquery-datatables-editable
0 stars 0 forks source link

Marking affected rows/cells #59

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'd suggest that the affected row from the fnOnAdded and fnOnEdited events are 
added in their respective parameters, so that it can be possible to do 
additional stuff to it, like add a class or change ID or validate it post-add.

I have not found a reference to the last added row or edited row, but if there 
is one then disregard this message and add some clear documentation on it.

You could also have a global "LastAffectedRow" variable that keeps track of 
that.

Original issue reported on code.google.com by Youtubia...@gmail.com on 16 Aug 2011 at 8:52

GoogleCodeExporter commented 8 years ago
Hi,

When a new row is added, "last-added-row" class is added to TR.
When a cell is updated, "last-updated-cell" class is added to TD.

You can see examples on the live demo. You will need the latest version of the 
plugin (I have just updated the plugin).

I hope that this could help you.

Regards,
Jovan

Original comment by joc...@gmail.com on 21 Aug 2011 at 5:12

GoogleCodeExporter commented 8 years ago
I will assume that the change is fine.

Original comment by joc...@gmail.com on 14 Sep 2011 at 9:24