var dt = $(“table-result”).DataTable();
var settings = dt.settings();
settings._iRecordsDisplay = json.total;
settings._iRecordsTotal = json.total;
dt = $(“table-result”).DataTable(settings);
Maybe you can describe more about what you are trying to do. There are no Datatables options for _iRecordsDisplay and _iRecordsTotal.
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.