I have a Spark DataGrid with 4 columns that all have custom item renderers.
I am specifically having a problem with one column where I have a TextArea
custom renderer. When I scroll the grid with a mouse wheel I dont have any
problem but moving a scroll bar's scroll thumb results in wrong renderer's
vertical sizing. Scrolling up and down helps to restore the sizing.
My renderer looks like this:
<s:TextArea id="ID" verticalAlign="top" width="100%"
updateComplete="updateCompleteHandler(event)"
editable="false" paddingLeft="10" selectionHighlighting="always"/>
protected function updateCompleteHandler(event:FlexEvent):void
{
Question.heightInLines = NaN;
}
Any idea how compensate for the described misbehavior?
Thanks