1 person found this helpful
If you use mx.controls.Text, you must customize its measure() method to
return the correct measuredHeight based on the explicitWidth.
Thanks for quick reply
Here I am adding this module to canvas and the canvas is also dynamic . As you said "customize the measure() method in Text control and return the correct measuredHeight based on the explicitWidth." what is the relation between Text control height and datagrid? Datagird should take it's parent container width and heights. I am newbie to this Flex.. can you please explain it briefly. And if you have any Other way to do this please tell me .. it is very helpful to me.. Can you please post cusomized measure method if possible. please
I don't know what your code looks like so it is hard to say what the exact
It might also be that you haven't set minHeight="0" on the DataGrid.
Posting code a simple test case will help us figure out what is wrong.
Thank you very much for your time.. It is working fine after I put minHeight="0".. Can you tell me why minHeight="0".? What is the relation...?
Thank you once again
If you search past discussion, you will see that when you have %height, the
minHeight is set to the measuredHeight.