api/extjs/browser-part/e-br-actions.js
function findRecord(store, fieldName, text) {
      var index = store.find(fieldName, text);
      if (index === -1) {
        throw new Error('Text: ' + text + ' not found for fieldName: ' + fieldName);
      }
      return index;
    }
function findRecord(store, fieldName, text) {
      var index = store.find(fieldName, text);
      if (index === -1) {
        throw new Error('Text: ' + text + ' not found for fieldName: ' + fieldName);
      }
      return index;
    }
function findRecord ( store , fieldName , text ) { var index = store . find ( fieldName , text ) ; if ( index === - 1 ) { throw new Error ( 'Text: ' + text + ' not found for fieldName: ' + fieldName ) ; } return index ; }
Record for text for specific field.
Only the first found result is used.
@param store
@param fieldName
@param text
@return {*}
Record for text for specific field . Only the first found result is used .