diff --git a/.datatables-commit-sync b/.datatables-commit-sync index ff758831..d0d4981d 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -f75bfb143b4b44d3f9b83fb1a499c2bd35da9e10 +f12e6c3f73010d074ca945e1a16712f19af7ec3f diff --git a/examples/server_side/select_rows.html b/examples/server_side/select_rows.html index 99d9b8e9..23091197 100644 --- a/examples/server_side/select_rows.html +++ b/examples/server_side/select_rows.html @@ -26,7 +26,7 @@ $(document).ready(function() { "processing": true, "serverSide": true, "ajax": "scripts/ids-arrays.php", - "rowCallback": function( row, data, displayIndex ) { + "rowCallback": function( row, data ) { if ( $.inArray(data.DT_RowId, selected) !== -1 ) { $(row).addClass('selected'); } @@ -110,7 +110,7 @@ $(document).ready(function() { "processing": true, "serverSide": true, "ajax": "scripts/ids-arrays.php", - "rowCallback": function( row, data, displayIndex ) { + "rowCallback": function( row, data ) { if ( $.inArray(data.DT_RowId, selected) !== -1 ) { $(row).addClass('selected'); } diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index f8c27b4c..0f3d9ca7 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -1950,7 +1950,9 @@ } } - /* Row callback functions - might want to manipulate the row */ + // Row callback functions - might want to manipulate the row + // iRowCount and j are not currently documented. Are they at all + // useful? _fnCallbackFire( oSettings, 'aoRowCallback', null, [nRow, aoData._aData, iRowCount, j] );