flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark goldin <markzolo...@gmail.com>
Subject DataGrid custom property and item renderers
Date Fri, 04 Oct 2013 15:01:17 GMT
Can someone verify that the following scenario should work?

Spark DataGrid is extended and has a property test:String.
Two custom item renderers check that property and if it's not set set it.
if (myDataGrid(column.grid.dataGrid).test == "")
    myDataGrid(column.grid.dataGrid).test = column.dataField;

What I see is that both columns would have test property empty event though
going thru debugger it's clear that it goes into one renderer then into
another. So, why would second one still has this property not set?

Thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message