I have an AvancedDataGrid that is fed with data like this:
<stat associate="Henry Smith" date="07/08/09" amount="1"/>
<stat associate="John Doe" date="07/08/09" amount="1"/>
<stat associate="John Doe" date="07/09/09" amount="2"/>
I want it to be so that when you click on a date in the date column, the associate and amount column only show that date. How can I do that?
Here is my AvancedDataGrid :
<mx:AdvancedDataGrid
id="wideGrid"
width="100%"
height="100%"
styleName="dataGrid"
dataProvider="{_statsXMLList}"
>
<mx:columns>
<mx:AdvancedDataGridColumn id="wideGridCol1"
dataField="@associate"
headerText="Name"
width="110"/>
<mx:AdvancedDataGridColumn id="wideGridCol2"
dataField="@amount"
headerText="Amount"
width="50" />
<mx:AdvancedDataGridColumn id="wideGridCol3"
dataField="@date"
headerText="Date"
width="60" />
</mx:columns>
</mx:AdvancedDataGrid>