[flexcoders] To implement Master Detail Datagrid in Flex

2006-06-28 Thread Yasovardhan Babu
Hi,

We need to implement the Master Detail grid in Flex.The requirement 
is as follows:

Whenever an item in Master Data Grid is selected, 
1)we need to shrink the parent grid to show only the selected item
(row) plus a few items(2) above and below the selected item, 

2)open a Detail Data grid below the Master grid and show all the 
child items corresponding to the Master grid item(selected).

It's not necessary to change any item in the detail grid.
Whenever the parent grid is selected again, the detail grid is made 
invisible and the parent grid is shown completely.

Can you please help with code how to do this?

Thanks  Regards,
Yasovardhan.








 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] To implement Master Detail Datagrid in Flex

2006-06-28 Thread Jeremy Lu




Item renderers and view state will serve you will on this, 
check them in the doc, there are plenty samples in it.

Ps. But performance may be a risk, if there are too many nested Datagrids.

Jeremy.
On 6/28/06, Yasovardhan Babu [EMAIL PROTECTED] wrote:









  



Hi,

We need to implement the Master Detail grid in Flex.The requirement 
is as follows:

Whenever an item in Master Data Grid is selected, 
1)we need to shrink the parent grid to show only the selected item
(row) plus a few items(2) above and below the selected item, 

2)open a Detail Data grid below the Master grid and show all the 
child items corresponding to the Master grid item(selected).

It's not necessary to change any item in the detail grid.
Whenever the parent grid is selected again, the detail grid is made 
invisible and the parent grid is shown completely.

Can you please help with code how to do this?

Thanks  Regards,
Yasovardhan.


  















__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___