Using dataTables with another plugin for ajax?

Once you've done your ajax call you need to call this function.

Once you've done your ajax call you need to call this function: datatables.net/plug-ins/api#fnReloadAjax.

Thank you for the response. So your saying in the ajax for the success I need to do success: function(data) { if (data. ErrorsExist) { } else { fnReloadAjax() } } – Jeff Davidson Jul 21 at 16:24 1 it'll be like oTable.fnReloadAjax(); you should have the datatable setup as a ver/object somewhere, usually when the thing is set up.

– Brian Jul 21 at 16:27 For some reason its not removing the row. – Jeff Davidson Jul 21 at 16:29 The js file that I am using to deal with the js is involved in the jsfiddle. Its called contentpages.js.

– Jeff Davidson Jul 21 at 16:30.

Try calling $("#my-table").fnDraw() This tells datatables to hit the database again and redraw the data it gets back. Since your ajax call is going to delete that row, it will not return that data to datatables and thus datatables will not draw it. FnDraw() is used a lot in the background of many of datatables action, like fnSort for example.

I appreciate the answer but didn't work for me. – Jeff Davidson Jul 23 at 14:46.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions