Correct. I can accomplish that with the following....
override protected function updateDisplayList(w:Number,h:Number):void
{
var dg:DataGrid =
DataGrid(listData.owner);
if (dg.isItemHighlighted(data) ||
dg.isItemSelected(data) ) {
super.height=40;
}
else{
super.height=25;
}}
but I loose the rollover color on the datagrid.
Alex Harui <[email protected]>
Sent by: [email protected]
07/30/2010 12:56 PM
Please respond to
[email protected]
To
"[email protected]" <[email protected]>
cc
Subject
Re: [flexcoders] change datagrid rowHeight on rollover
Normally you only want to change one row’s height so you do that with an
itemRenderer.
On 7/30/10 10:22 AM, "joegjames" <[email protected]> wrote:
Is it possible to change the rowHeight on rollover? Does it have to be
done from with in an itemRenderer?
--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui
<<image/gif>>

