That looks like it would make a really cool custom component,
synchronizing a tree on the left with a grid on the right.

It will be hard in just a datagrid because I don't think the cells can
be different widths on different lines. Your indentations couldn't
overlap.

Tracy

-----Original Message-----
From: Tom Fitzpatrick [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 15, 2005 9:05 AM
To: [email protected]
Subject: [flexcoders] hiding/showing datagrid items


I'm trying to find the best way to approach a datagrid display issue. 
What's the best way to show and hide different portions of a datagrid
that 
displays hierarchical arrangements?

The effect of the display is to show and hide different parts of a 
hierarchy - a tree with rows attached, for lack of a better way of
saying it.

Let's say the display is something like this:

Category 1
Item 1
Item 2
------
Item n
Category 2
Subcategory 1
Item 1
Item 2
......
Item n
Subcategory 2
Item 1
Item 2
......
Item n
Category 3
Item 1
Item 2
......
Item n
......
Category n

What's the best way to approach showing and hiding the category and 
subcategory names and the items within them? Should I tie a datagrid to
a 
tree - or can all this be accomplished within a datagrid? Or is there 
another approach?

- Tom






 
Yahoo! Groups Links



 







Reply via email to