title: How do i select a record in a grouped smartgwt listgrid?
body: <p>I have site with a listgrid and a openlayers map with points. When i cklick on one of these, the application shall scroll and mark this record. This works with a standard listgrid, but with a grouped listgrid it does not work.</p>
  
  <pre><code>lg = new ListGrid();
  lg.setWidth(330);
  lg.setDataSource(ds1);
  lg.setAutoFetchData(true);
  lg.setSortField("KU_NAME");
  lg.setGroupStartOpen(GroupStartOpen.ALL);
  lg.setGroupByField("KU_NAME");
  lg.setShowFilterEditor(true);
  
  kuName = new ListGridField("KU_NAME", "K&amp;uuml;nstler Name",150);
  
  // Standorte
  ListGridField stdOrt = new ListGridField("STDORT_NR","Standort Nr.");
  ListGridField oid = new ListGridField("OID","OID.");
  lg.setFields(stdOrt,kuName,oid);
  </code></pre>
  
  <p>and the select:</p>
  
  <pre><code>String stdortOID = stdOrtOIDjso.toString();
  ListGridRecord[] records = lg.getRecords();
      int i;
      for (i = 0; i &lt; records.length; i++) {
          if (records[i].getAttribute("OID").equalsIgnoreCase(stdortOID)){
              break;
      }
  }
  lg.deselectAllRecords();
  lg.selectRecord(i);
  lg.scrollToRow(lg.getRecordIndex(record));
  </code></pre>
  
  <p>the reason is that in the record is only the value of the group name and the other attributs are unavailable.</p>