src/sap.ui.documentation/src/sap/ui/documentation/sdk/controller/MasterTreeBaseController.js
function (oEvent) {
				// Update filter value
				this._sFilter = oEvent.getParameter("newValue").trim();

				if (this._filterTimeout) {
					clearTimeout(this._filterTimeout);
				}

				this._filterTimeout = setTimeout(function () {

					if (this.buildAndApplyFilters()) {
						this._expandAllNodes();
					} else {
						this._collapseAllNodes();
						if (this.oSelectedItem) {
							this._expandTreeToNode(this.oSelectedItem.sTopicId, this.oSelectedItem.oModel);
						}
					}

					this._filterTimeout = null;
				}.bind(this), 250);

			}
function (oEvent) {
				// Update filter value
				this._sFilter = oEvent.getParameter("newValue").trim();

				if (this._filterTimeout) {
					clearTimeout(this._filterTimeout);
				}

				this._filterTimeout = setTimeout(function () {

					if (this.buildAndApplyFilters()) {
						this._expandAllNodes();
					} else {
						this._collapseAllNodes();
						if (this.oSelectedItem) {
							this._expandTreeToNode(this.oSelectedItem.sTopicId, this.oSelectedItem.oModel);
						}
					}

					this._filterTimeout = null;
				}.bind(this), 250);

			}
function ( oEvent ) { // Update filter value this . _sFilter = oEvent . getParameter ( "newValue" ) . trim ( ) ; if ( this . _filterTimeout ) { clearTimeout ( this . _filterTimeout ) ; } this . _filterTimeout = setTimeout ( function ( ) { if ( this . buildAndApplyFilters ( ) ) { this . _expandAllNodes ( ) ; } else { this . _collapseAllNodes ( ) ; if ( this . oSelectedItem ) { this . _expandTreeToNode ( this . oSelectedItem . sTopicId , this . oSelectedItem . oModel ) ; } } this . _filterTimeout = null ; } . bind ( this ) , 250 ) ; }
Handler for the SearchField
@param oEvent
Handler for the SearchField