Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

additional information #7

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 7 additions & 2 deletions media/js/jquery.dataTables.js
Expand Up @@ -2614,7 +2614,10 @@
"_anHidden": [], "_anHidden": [],
"_sRowStripe": '' "_sRowStripe": ''
} ); } );


if(typeof oSettings.aoAdditional == 'object')
jQuery(oSettings.aoData[iThisIndex].nTr).data('aoAdditional', oSettings.aoAdditional[iThisIndex]);

/* Create the cells */ /* Create the cells */
var nTd, sThisType; var nTd, sThisType;
for ( var i=0 ; i<aData.length ; i++ ) for ( var i=0 ; i<aData.length ; i++ )
Expand Down Expand Up @@ -3349,7 +3352,9 @@
} }
oSettings._iRecordsTotal = json.iTotalRecords; oSettings._iRecordsTotal = json.iTotalRecords;
oSettings._iRecordsDisplay = json.iTotalDisplayRecords; oSettings._iRecordsDisplay = json.iTotalDisplayRecords;


oSettings.aoAdditional = json.aoAdditional;

/* Determine if reordering is required */ /* Determine if reordering is required */
var sOrdering = _fnColumnOrdering(oSettings); var sOrdering = _fnColumnOrdering(oSettings);
var bReOrder = (typeof json.sColumns != 'undefined' && sOrdering !== "" && json.sColumns != sOrdering ); var bReOrder = (typeof json.sColumns != 'undefined' && sOrdering !== "" && json.sColumns != sOrdering );
Expand Down