You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
532 B
JavaScript
18 lines
532 B
JavaScript
13 years ago
|
/**
|
||
|
* Update the internal data for a TR element based on what is used in the
|
||
|
* DOM. You will likely want to call fnDraw() after this function.
|
||
|
* @name fnColumnIndexToVisible
|
||
|
* @author Lior Gerson
|
||
|
*
|
||
|
* @example
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
$.fn.dataTableExt.oApi.fnDataUpdate = function ( oSettings, nRowObject, iRowIndex )
|
||
|
{
|
||
|
$(nRowObject).find("TD").each( function(i) {
|
||
|
var iColIndex = oSettings.oApi._fnVisibleToColumnIndex( oSettings, i );
|
||
|
oSettings.oApi._fnSetCellData( oSettings, iRowIndex, iColIndex, $(this).html() );
|
||
|
} );
|
||
|
};
|