title: How to get multiple selected rows in a table or indexedcontainer?
body: <p>I have a Table whose DataSource is set to a IndexedContainer. I also have multiple selection enabled on my Table. The Question is, how do I get all the selected values.. as an array perhaps?</p>
  
  <p>My IndexedContainer:</p>
  
  <pre><code>private void populateAnalyteTable () {
  
          Analyte[] analytes = Analyte.getAnalytes();
  
          for (Analyte analyte : analytes) {
  
              Object id = ic_analytes.addItem();
              ic_analytes.getContainerProperty(id, "ID").setValue(analyte.getId());
              ic_analytes.getContainerProperty(id, "Analyte Name").setValue(analyte.getAnalyteName());
  
          }
  
          // Bind indexed container to table
          tbl_analytes.setContainerDataSource(ic_analytes);
  
      }
  </code></pre>
  
  <p>What I'm eventually trying to get is an array of Analyte objects</p>