examples/webconsole/resources/js/jquery/jquery.dataTables.js
function _fnBuildSearchArray ( oSettings, iMaster )
		{
			if ( !oSettings.oFeatures.bServerSide )
			{
				/* Clear out the old data */
				oSettings.asDataSearch.splice( 0, oSettings.asDataSearch.length );
				
				var aArray = (iMaster && iMaster===1) ?
				 	oSettings.aiDisplayMaster : oSettings.aiDisplay;
				
				for ( var i=0, iLen=aArray.length ; i<iLen ; i++ )
				{
					oSettings.asDataSearch[i] = _fnBuildSearchRow( oSettings,
						_fnGetRowData( oSettings, aArray[i], 'filter' ) );
				}
			}
		}
function _fnBuildSearchArray ( oSettings, iMaster )
		{
			if ( !oSettings.oFeatures.bServerSide )
			{
				/* Clear out the old data */
				oSettings.asDataSearch.splice( 0, oSettings.asDataSearch.length );
				
				var aArray = (iMaster && iMaster===1) ?
				 	oSettings.aiDisplayMaster : oSettings.aiDisplay;
				
				for ( var i=0, iLen=aArray.length ; i<iLen ; i++ )
				{
					oSettings.asDataSearch[i] = _fnBuildSearchRow( oSettings,
						_fnGetRowData( oSettings, aArray[i], 'filter' ) );
				}
			}
		}
function _fnBuildSearchArray ( oSettings , iMaster ) { if ( ! oSettings . oFeatures . bServerSide ) { /* Clear out the old data */ oSettings . asDataSearch . splice ( 0 , oSettings . asDataSearch . length ) ; var aArray = ( iMaster && iMaster === 1 ) ? oSettings . aiDisplayMaster : oSettings . aiDisplay ; for ( var i = 0 , iLen = aArray . length ; i < iLen ; i ++ ) { oSettings . asDataSearch [ i ] = _fnBuildSearchRow ( oSettings , _fnGetRowData ( oSettings , aArray [ i ] , 'filter' ) ) ; } } }
Create an array which can be quickly search through
@param {object} oSettings dataTables settings object
@param {int} iMaster use the master data array - optional
@memberof DataTable#oApi
Create an array which can be quickly search through