You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by luismsm <lu...@microprocessador.pt> on 2013/10/02 12:47:12 UTC

Spark DataGrid itemRenderer states and height change

I'm trying to use different states in a item renderer to show some extra data
when user selects a row/cell.

I defined "normal" and "selected" states and some groups with
includeIn="selected" and set the GridItemRenderer height.normal="25" and
height.selected = "50".

When user selects a row the state automatically change to "selected", the
size of itemRendereder change correctly, but the grid row doesn't update the
height.

Even using this handler on selected state enter, the problem continues.
state1_enterStateHandler(event:FlexEvent):void{
    column.grid.invalidateCell(rowIndex, columnIndex);}

If user just resize the datagrid or a column, the height is correctly
updated.
How can I solve that?



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Spark-DataGrid-itemRenderer-states-and-height-change-tp2920.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.