I use asp.net mvc and datatables and i got wrong answer in JSON object (into result property)
I use asp.net mvc and datatables and i got wrong answer in JSON object (into result property)
maxis
Posts: 1Questions: 1Answers: 0
var data = _fnAjaxDataSrc( settings, json );
var draw = compat( 'sEcho', 'draw' );
var recordsTotal = compat( 'iTotalRecords', 'recordsTotal' );
var recordsFiltered = compat( 'iTotalDisplayRecords', 'recordsFiltered' );
if ( draw ) {
// Protect against out of sequence returns
if ( draw*1 < settings.iDraw ) {
return;
}
settings.iDraw = draw * 1;
}
MY answer is in JSON.result ???? why?? :(
This discussion has been closed.