aspose file tools*
The moose likes Flex and the fly likes Expanding rows in AdvanceDataGrid to Display Item renderers. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Expanding rows in AdvanceDataGrid to Display Item renderers." Watch "Expanding rows in AdvanceDataGrid to Display Item renderers." New topic
Author

Expanding rows in AdvanceDataGrid to Display Item renderers.

Anshul Singhal
Greenhorn

Joined: Dec 14, 2009
Posts: 18
Hi,
I'm new to flex. I'm working on a requirement where I need to display data in AdvancedataGrid and making the rows expandable to display an ItemRenderer. I have used HierarchicalData to do the same. I've achieved my objective to an extent except for the error where all the rows gets expanded. Can anyone please help. If required I can share the code for the same.

Kapish M Joshi
Greenhorn

Joined: Sep 12, 2012
Posts: 10

Hi Anshul,

I would like to ask you how are you creating data grid. Is it getting created dynamically in action script code or your are creating it using .mxml ?
If you are creating it using .mxml then you can increase span of data grid column. This example would help you find out the solution:
E.g.


You can paste some part of your code so that i can provide you exact solution.


Kapish M Joshi| kjoshi@infocepts.com | InfoCepts
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Expanding rows in AdvanceDataGrid to Display Item renderers.
 
Similar Threads
Displaying few rows on each page
Table Rows
expand table row
Swing JCombobox and JTable issue
Creating a HTML table to display values from a database