In what method do you make the check in the custom itemRenderer ?
-----Message d'origine-----
De : mark goldin [mailto:[email protected]]
Envoyé : vendredi 4 octobre 2013 17:01
À : users
Objet : DataGrid custom property and item renderers
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