Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82607

When deleting a row, the data is still available from search and YADCF filters if no page refresh

$
0
0

When deleting a row, the row disappear from the table but info still appear datatable search and Yadcf filter
and if I do a search with delete info the deleted row will be visible in the table (because no page refresh)

I'm deleting the row using PHP and Ajax
The ajax in on a seperate JS file.
I'm not using server side datatable version

success: function(response) {
    $("#"+rowId).remove();
},

I have tried with no luck to add one of these to reset or draw the table

//yadcf.exResetAllFilters(table16);
//$("#files-list").DataTable().draw();

The only way I have found to get it the deleted data cleared is to reload the page.
Thanks


Viewing all articles
Browse latest Browse all 82607

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>