Duplicate records after use Datatable plugin
Duplicate records after use Datatable plugin

I have a HTML table that I fill with data from knockout js. This table uses the Datatable plugin for filter. and it work proper.
but when I add new record and call Refill function, then table showing old records too. please help me
This discussion has been closed.
Answers
My Code is here....
function filterGlobal() {
$('#Roles').DataTable({
"bInfo": false,
"bPaginate": false,
"ordering": false,
"bDestroy": true
}).search(
$('#txt_filter').val()
).draw();
}
Hi @rajeshfa ,
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin