/** * Search through a table looking for a given string (optionally the search * can be restricted to a single column). The return value is an array with * the data indexes (from DataTables' internal data store) for any rows which * match. * @name fnFindCellRowIndexes * @anchor fnFindCellRowIndexes * @author Allan Jardine * * @example * $(document).ready(function() { * var oTable = $('#example').dataTable(); * * var a = oTable.fnFindCellRowIndexes( '1.7' ); // Search all columns * * var b = oTable.fnFindCellRowIndexes( '1.7', 3 ); // Search only column 3 * } ); */ $.fn.dataTableExt.oApi.fnFindCellRowIndexes = function ( oSettings, sSearch, iColumn ) { var i,iLen, j, jLen, aOut = [], aData; for ( i=0, iLen=oSettings.aoData.length ; i