Quantcast
Channel: DataTables 1.9 — DataTables forums
Viewing all articles
Browse latest Browse all 1816

fnDeleteRow not removing fnAddRow

$
0
0
I have some code that adds a row to the data table by passing the object into fnAddData function, the row renders perfectly. However, I have an .on('click') even that fires, reads the $(this).closest('tr') from the button that was clicked's data attribute, and attempts to delete the row on a successful ajax call. Everything works just fine except if I try to remove something that was added using fnAddData. Using the chrome debugger I can see that my jquery row object is found by the selector and is stored in the variable to be deleted. Any thoughts? This is an internal only site so I can't post a link up sorry :S (pastebin of all the js) http://pastebin.com/YYQWp2Zr

Viewing all articles
Browse latest Browse all 1816

Trending Articles