1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-18 16:54:14 +01:00

Fix: fnGetData should give the original data object, rather than the array that DataTables uses for rendering the actual table. This was part of the original commit for the 1.8 object handling, but in retrospect, the original data is much more useful.

This commit is contained in:
Allan Jardine 2011-05-12 20:11:11 +01:00
parent b3f5ddaf96
commit c8c10d1fba

View File

@ -1825,7 +1825,7 @@
return _fnGetCellData( oSettings, iRow, iCol, '' );
}
return (typeof oSettings.aoData[iRow] != 'undefined') ?
_fnGetRowData( oSettings, iRow, '' ) : null;
oSettings.aoData[iRow]._aData : null;
}
return _fnGetDataMaster( oSettings );
};