brixel
11-11-2008, 05:55 PM
I'm looking for some advice on using the tree component as an item renderer in one of my columns in a datagrid to show a tree structure.
I've got the data in the grid, Ive got the tree item renderer setup, etc, but expanding and collapsing the tree doesn't shift the row height in the grid back and forth.
For starters, just keeping everything default and pushing a tree component in as the item renderer, the row heights are very tall, to compensate for the exapnsion of the tree I assume.
I've tried the only code I could find that comes close to solving the issue located at:
http://www.flex888.com/712/datagrid-with-flexible-row-height.html
This doesn't function properly, though the example appears to be, but he is missing code in his example.
Has anyone done this before? It seems so straight forward, or at least it should be. The datagrids variableRowHeight appears almost useless. I just want the row heights in the grid to maintain themselves with the expansion and collapse of the tree. Any help would be greatly appreciated.
I've got the data in the grid, Ive got the tree item renderer setup, etc, but expanding and collapsing the tree doesn't shift the row height in the grid back and forth.
For starters, just keeping everything default and pushing a tree component in as the item renderer, the row heights are very tall, to compensate for the exapnsion of the tree I assume.
I've tried the only code I could find that comes close to solving the issue located at:
http://www.flex888.com/712/datagrid-with-flexible-row-height.html
This doesn't function properly, though the example appears to be, but he is missing code in his example.
Has anyone done this before? It seems so straight forward, or at least it should be. The datagrids variableRowHeight appears almost useless. I just want the row heights in the grid to maintain themselves with the expansion and collapse of the tree. Any help would be greatly appreciated.