api/extjs/browser-part/e-br-search.js
function byIdRef(id, ref) {
      var cmp = this.byId(id).lookupReferenceHolder(false).lookupReference(ref);
      if (!cmp) {
        throw new Error('Component not found for container id: ' + id + ', reference: ' + ref);
      }
      return cmp;
    }
function byIdRef(id, ref) {
      var cmp = this.byId(id).lookupReferenceHolder(false).lookupReference(ref);
      if (!cmp) {
        throw new Error('Component not found for container id: ' + id + ', reference: ' + ref);
      }
      return cmp;
    }
function byIdRef ( id , ref ) { var cmp = this . byId ( id ) . lookupReferenceHolder ( false ) . lookupReference ( ref ) ; if ( ! cmp ) { throw new Error ( 'Component not found for container id: ' + id + ', reference: ' + ref ) ; } return cmp ; }
Gets component using id and reference.
@param id - component HTML id.
@param ref - reference inside component found by id.
Gets component using id and reference .