src/sap.ui.documentation/src/sap/ui/documentation/sdk/controller/MasterTreeBaseController.js
function () {
				var oBinding = this.byId("tree").getBinding("items");
				if (this._sFilter) {
					oBinding.filter(new Filter({
						path: "name",
						operator: FilterOperator.Contains,
						value1: this._sFilter
					}));
					return true;
				} else {
					oBinding.filter();
					return false;
				}
			}
function () {
				var oBinding = this.byId("tree").getBinding("items");
				if (this._sFilter) {
					oBinding.filter(new Filter({
						path: "name",
						operator: FilterOperator.Contains,
						value1: this._sFilter
					}));
					return true;
				} else {
					oBinding.filter();
					return false;
				}
			}
function ( ) { var oBinding = this . byId ( "tree" ) . getBinding ( "items" ) ; if ( this . _sFilter ) { oBinding . filter ( new Filter ( { path : "name" , operator : FilterOperator . Contains , value1 : this . _sFilter } ) ) ; return true ; } else { oBinding . filter ( ) ; return false ; } }
Build and apply filters to the tree model.
@returns {boolean} if search filter is applied
Build and apply filters to the tree model .