src/sap.ui.dt/src/sap/ui/dt/enablement/report/Table.js
function(sFilter) {
			var oModel = this._getTable().getModel();
			if (oModel) {
				if (sFilter.length > 0) {
					// As UI5 does not support filtering on first level, we have to do it on our own
					var aData = this.getData();
					var aFilteredData = aData.children.filter(function(oEntry) {

						if (sFilter.indexOf("status=") != -1) {
							return oEntry.status.value == sFilter.substring(sFilter.indexOf("=") + 1);
						} else {
							return oEntry.name.toLowerCase().indexOf(sFilter.toLowerCase()) != -1;
						}
					});
					oModel.setData(aFilteredData);
				} else {
					oModel.setData(this.getData());
				}
			}
		}
function(sFilter) {
			var oModel = this._getTable().getModel();
			if (oModel) {
				if (sFilter.length > 0) {
					// As UI5 does not support filtering on first level, we have to do it on our own
					var aData = this.getData();
					var aFilteredData = aData.children.filter(function(oEntry) {

						if (sFilter.indexOf("status=") != -1) {
							return oEntry.status.value == sFilter.substring(sFilter.indexOf("=") + 1);
						} else {
							return oEntry.name.toLowerCase().indexOf(sFilter.toLowerCase()) != -1;
						}
					});
					oModel.setData(aFilteredData);
				} else {
					oModel.setData(this.getData());
				}
			}
		}
function ( sFilter ) { var oModel = this . _getTable ( ) . getModel ( ) ; if ( oModel ) { if ( sFilter . length > 0 ) { // As UI5 does not support filtering on first level, we have to do it on our own var aData = this . getData ( ) ; var aFilteredData = aData . children . filter ( function ( oEntry ) { if ( sFilter . indexOf ( "status=" ) != - 1 ) { return oEntry . status . value == sFilter . substring ( sFilter . indexOf ( "=" ) + 1 ) ; } else { return oEntry . name . toLowerCase ( ) . indexOf ( sFilter . toLowerCase ( ) ) != - 1 ; } } ) ; oModel . setData ( aFilteredData ) ; } else { oModel . setData ( this . getData ( ) ) ; } } }
Filters the table.

@param  {sString} sFilter The filter string.

@public
Filters the table .