Thanks Guys!
Looks like exactly what I was looking for!

Anthony

----- Original Message ----- 
From: Tracy Spratt
To: [email protected]
Sent: Wednesday, November 07, 2007 10:50 AM
Subject: RE: [flexcoders] Question about Datagrid


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 with view states 
(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 MelbyFounder, Fast Lane Software LLChttp://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
 

Reply via email to