api/extjs/browser-part/e-br-actions.js
function setTableSelection(table, rowData) {
      if (table.isPanel) {
        table = table.getView();
      }
      var model = this.findRecord(table.getStore(), rowData);

      table.setSelection(model);
    }
function setTableSelection(table, rowData) {
      if (table.isPanel) {
        table = table.getView();
      }
      var model = this.findRecord(table.getStore(), rowData);

      table.setSelection(model);
    }
function setTableSelection ( table , rowData ) { if ( table . isPanel ) { table = table . getView ( ) ; } var model = this . findRecord ( table . getStore ( ) , rowData ) ; table . setSelection ( model ) ; }
Sets table selection by ExtJs API.
@param table - table View or table Panel.
@param {Object} rowData - fieldName/fieldValue pairs.
Sets table selection by ExtJs API .