I\'m using jquery datatables to display data inside grid. On init page load script take DateTime.Today and process them further, problem is after init page load, when I\'m t
The first thing you wanna do is to clean and destroy your datatables.
var tables = $.fn.dataTable.fnTables(true); $(tables).each(function () { $(this).dataTable().fnClearTable(); $(this).dataTable().fnDestroy(); });
and then re-create.
$("#datagrid").dataTable();