examples/webconsole/resources/js/jquery/jquery.dataTables.js
function _fnBuildSearchRow( oSettings, aData )
		{
			var sSearch = '';
			if ( oSettings.__nTmpFilter === undefined )
			{
				oSettings.__nTmpFilter = document.createElement('div');
			}
			var nTmp = oSettings.__nTmpFilter;
			
			for ( var j=0, jLen=oSettings.aoColumns.length ; j<jLen ; j++ )
			{
				if ( oSettings.aoColumns[j].bSearchable )
				{
					var sData = aData[j];
					sSearch += _fnDataToSearch( sData, oSettings.aoColumns[j].sType )+'  ';
				}
			}
			
			/* If it looks like there is an HTML entity in the string, attempt to decode it */
			if ( sSearch.indexOf('&') !== -1 )
			{
				nTmp.innerHTML = sSearch;
				sSearch = nTmp.textContent ? nTmp.textContent : nTmp.innerText;
				
				/* IE and Opera appear to put an newline where there is a <br> tag - remove it */
				sSearch = sSearch.replace(/\n/g," ").replace(/\r/g,"");
			}
			
			return sSearch;
		}
function _fnBuildSearchRow( oSettings, aData )
		{
			var sSearch = '';
			if ( oSettings.__nTmpFilter === undefined )
			{
				oSettings.__nTmpFilter = document.createElement('div');
			}
			var nTmp = oSettings.__nTmpFilter;
			
			for ( var j=0, jLen=oSettings.aoColumns.length ; j<jLen ; j++ )
			{
				if ( oSettings.aoColumns[j].bSearchable )
				{
					var sData = aData[j];
					sSearch += _fnDataToSearch( sData, oSettings.aoColumns[j].sType )+'  ';
				}
			}
			
			/* If it looks like there is an HTML entity in the string, attempt to decode it */
			if ( sSearch.indexOf('&') !== -1 )
			{
				nTmp.innerHTML = sSearch;
				sSearch = nTmp.textContent ? nTmp.textContent : nTmp.innerText;
				
				/* IE and Opera appear to put an newline where there is a <br> tag - remove it */
				sSearch = sSearch.replace(/\n/g," ").replace(/\r/g,"");
			}
			
			return sSearch;
		}
function _fnBuildSearchRow ( oSettings , aData ) { var sSearch = '' ; if ( oSettings . __nTmpFilter === undefined ) { oSettings . __nTmpFilter = document . createElement ( 'div' ) ; } var nTmp = oSettings . __nTmpFilter ; for ( var j = 0 , jLen = oSettings . aoColumns . length ; j < jLen ; j ++ ) { if ( oSettings . aoColumns [ j ] . bSearchable ) { var sData = aData [ j ] ; sSearch += _fnDataToSearch ( sData , oSettings . aoColumns [ j ] . sType ) + '  ' ; } } /* If it looks like there is an HTML entity in the string, attempt to decode it */ if ( sSearch . indexOf ( '&' ) !== - 1 ) { nTmp . innerHTML = sSearch ; sSearch = nTmp . textContent ? nTmp . textContent : nTmp . innerText ; /* IE and Opera appear to put an newline where there is a <br> tag - remove it */ sSearch = sSearch . replace ( / \n / g , " " ) . replace ( / \r / g , "" ) ; } return sSearch ; }
Create a searchable string from a single data row
@param {object} oSettings dataTables settings object
@param {array} aData Row data array to use for the data to search
@memberof DataTable#oApi
Create a searchable string from a single data row