Peter Cowling
03-17-2009, 08:16 PM
Hi,
I am weighing-up which way to address the following requirements:
I have a datagrid with a five columns.
Two of the columns contain itemrenderers.
I need to vary the height of the rows to accomodate the height of the contents of the itemrenderers, or, potentially the other columns.
It is not a given which column will be the heighest - not least because display objects will be added to the itemrenderers on a conditional basis.
(In case this is of interest: I am working with about 500 value objects, each with about 15 data points; the dataset will probably not exceed 5,000.)
EDIT
Having thought about a few different solutions, I decided to keep things simple and use a textarea within the itemrenderer, as it does the job and does not add too much overhead compared to what a own-rolled effort would achieve.
I am weighing-up which way to address the following requirements:
I have a datagrid with a five columns.
Two of the columns contain itemrenderers.
I need to vary the height of the rows to accomodate the height of the contents of the itemrenderers, or, potentially the other columns.
It is not a given which column will be the heighest - not least because display objects will be added to the itemrenderers on a conditional basis.
(In case this is of interest: I am working with about 500 value objects, each with about 15 data points; the dataset will probably not exceed 5,000.)
EDIT
Having thought about a few different solutions, I decided to keep things simple and use a textarea within the itemrenderer, as it does the job and does not add too much overhead compared to what a own-rolled effort would achieve.