Seems like it should be easy but...
Does anyone know how to return the current rows from a filtered dataTable? The oTable.fnGetNodes() method returns
Better late than never but I was struggling with this myself. Here's what I came up with
$.fn.dataTableExt.oApi.fnGetVisibleData = function(){
displayed = [];
currentlyDisplayed = this.fnSettings().aiDisplay; //gets displayed rows by their int identifier
for (index in currentlyDisplayed){
displayed.push( this.fnGetData( currentlyDisplayed[index] ));
}
return displayed;
}