See this example, which does something very similar: http://weblogs.macromedia.com/pent/archives/2006/04/a_list_itemrend.cfm
Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Melby Sent: Wednesday, November 07, 2007 8:46 AM To: [email protected] Subject: Re: [flexcoders] Question about Datagrid Anthony - This should be simple enough using a custom item renderer <http://www.adobe.com/devnet/flex/quickstart/using_item_renderers/> with view states <http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp .htm?context=LiveDocs_Parts&file=00000923.html> (summary and expaneded in your case). The renderer has a method set data(value:Object):void that you will implement... the value that is being passed to you will be one object from your grids data provider (XML in your case). Your renderer can have multiple <mx:State> states defined, so when the user clicks on the renderer you can simply toggle which state it is in. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com <http://www.fastlanesw.com> Anthony Papillion wrote: Hello Everyone, I am creating an application that will receive XML formatted data and display it in a datagrid. The data received will be subject, date, time, and information. The datagrid will show subject, date, and time and when the user clicks on it, I need the information in the datagrid to expand down and display the 'information' part. Basically, I'd like it to work exactly like Google Reader does but with different information and I want to do it in Flex and not AJAX. I know this can be done but, being new to Flex, I have no idea how to make the datagrid do the slideout/slidedown with the new information. Can anyone help? Thank You, Anthony Papillion

