1
我有这样与信息一个DataGrid:的Flex:DataGrid中集团项目
Associate Amount Time Customer
John Doe 2 9am Sam Smith
John Doe 2 10am Berry Cooper
Bill Ace 1 9am Sandy James
重复的名称和数量变得多余,所以我想它是这个样子:
Associate Amount
John Doe 2
Bill Ace 1
然后,当您选择一个时,它会展开以显示所选联系人的时间和客户。我希望这是有道理的...我目前只是使用DataGrid,但如果需要的话,我可以使用AdvancedDataGrid ...我很确定这样的事情可以完成,我只是不知道如何。
我的数据以XML,看起来像这样:
<stat associate="John Doe" date="08/12/09" amount="2" time="9 am" customer="Sam Smith"/>
<stat associate="John Doe" date="08/12/09" amount="2" time="10 am" customer="Berry Cooper"/>
<stat associate="Bill Ace" date="08/12/09" amount="1" time="9 am" customer="Sandy James"/>
谢谢!