api/extjs/browser-part/e-br-content.js
function getCB(cb) {
      var str = '';
      // str += this.getIdItemIdReference(cb) + '\n';
      str += this.getCompDispIdProps(cb) + '\n';

      str += 'Selected vals: \'' + this.getCBSelectedVals(cb) + '\'\n';

      var displayField = this.safeGetConfig(cb, 'displayField');
      // str += 'displayField: ' + displayField + '\n';
      str += tiaEJ.ctMisc.stringifyStoreField(cb.getStore(), displayField).join('\n') + '\n';
      return tia.cC.content.wrap(str);
    }
function getCB(cb) {
      var str = '';
      // str += this.getIdItemIdReference(cb) + '\n';
      str += this.getCompDispIdProps(cb) + '\n';

      str += 'Selected vals: \'' + this.getCBSelectedVals(cb) + '\'\n';

      var displayField = this.safeGetConfig(cb, 'displayField');
      // str += 'displayField: ' + displayField + '\n';
      str += tiaEJ.ctMisc.stringifyStoreField(cb.getStore(), displayField).join('\n') + '\n';
      return tia.cC.content.wrap(str);
    }
function getCB ( cb ) { var str = '' ; // str += this.getIdItemIdReference(cb) + '\n'; str += this . getCompDispIdProps ( cb ) + '\n' ; str += 'Selected vals: \'' + this . getCBSelectedVals ( cb ) + '\'\n' ; var displayField = this . safeGetConfig ( cb , 'displayField' ) ; // str += 'displayField: ' + displayField + '\n'; str += tiaEJ . ctMisc . stringifyStoreField ( cb . getStore ( ) , displayField ) . join ( '\n' ) + '\n' ; return tia . cC . content . wrap ( str ) ; }
Gets text from a ComboBox
@param cb
@returns {*}
Gets text from a ComboBox