Refresh aodata
Refresh aodata

Hi,
I search a method to refresh all aoData, with actual datas in the
I create this function:
[code]
jQuery.fn.dataTableExt.oApi.fnDataUpdateTableAll = function ( oSettings, nNodes)
{
$(nNodes).find("TR").each( function(i) {
var dataRow = oSettings.aoData[iRowIndex]._aData;
$(nRowObject).find("TD").each( function(i) {
dataRow[i] = $(this).html();
} );
});
};
[/code]
[code]oTable.fnDataUpdateTableAll(oTable.oSettings,oTable.fnGetNodes());[/code]
But, don't work...
Have you an idea?
Thk, Laurent
I search a method to refresh all aoData, with actual datas in the
I create this function:
[code]
jQuery.fn.dataTableExt.oApi.fnDataUpdateTableAll = function ( oSettings, nNodes)
{
$(nNodes).find("TR").each( function(i) {
var dataRow = oSettings.aoData[iRowIndex]._aData;
$(nRowObject).find("TD").each( function(i) {
dataRow[i] = $(this).html();
} );
});
};
[/code]
[code]oTable.fnDataUpdateTableAll(oTable.oSettings,oTable.fnGetNodes());[/code]
But, don't work...
Have you an idea?
Thk, Laurent
This discussion has been closed.
Replies
Allan