title: Flex: Group items in DataGrid
body: <p>I have a DataGrid with info like this:</p>
  
  <pre><code>Associate   Amount  Time    Customer
  
  John Doe    2   9am Sam Smith
  John Doe    2   10am    Berry Cooper
  Bill Ace    1   9am Sandy James
  </code></pre>
  
  <p>Repeating the name and amount gets redundant so I would like it to look something like this:</p>
  
  <pre><code>Associate   Amount  
  
  John Doe    2       
  Bill Ace    1
  </code></pre>
  
  <p>Then when you select one, it expands to show the times and customers for the selected associate. I hope this makes sense...I am currently just using a DataGrid but I can use an AdvancedDataGrid if thats needed...I am pretty sure something like this can be done, I just don't know how.</p>
  
  <p>My data is in xml and looks like this:</p>
  
  <pre><code>&lt;stat associate="John Doe" date="08/12/09" amount="2" time="9 am" customer="Sam Smith"/&gt;
  &lt;stat associate="John Doe" date="08/12/09" amount="2" time="10 am" customer="Berry Cooper"/&gt;
  &lt;stat associate="Bill Ace" date="08/12/09" amount="1" time="9 am" customer="Sandy James"/&gt;
  </code></pre>
  
  <p>Thanks!!!</p>