undocumented AS2 -> AS3 migration notes: setPropertiesAt()

here’s another item missed in the Adobe Flex 2 migration doc:

list.setPropertiesAt() has gone away. What replaced it? Good question. Here’s another: What’s the best way to change the background colors of datagrid rows?

Well, there is more than one approach to this, but for my purposes I wanted to set the row colors based on some criteria of the row content (i.e. from the dataprovider). Since I was extending the DataGrid class anyway, I chose to override the drawRowBackgrounds() function (which is also overridden in DataGrid, btw).



Both comments and pings are currently closed.