--- In [email protected], "pixelgeek" <[EMAIL PROTECTED]> wrote: > > So I solved my problem by scrapping the original code. Based on Alex's > comments I don't know if it was ever going to be workable for any > situation that had more rows in a dataprovider than there were > onscreen rows in the datagrid. > > It is definitely a problem with mindset though as the solution that > works, and works well, is utterly alien to my old way of coding. > > That said, would it kill adobe to add methods to style a row in a > datagrid? >
That already exists in AdvancedDataGrid. Where it falls down is that most of the default itemRenderers don't support background styling. If it doesn't exist in DataGrid, it's pretty easy to add like this http://flexdiary.blogspot.com/2008/08/tilelist-with- stylefunction.html. For more about the problem with the itemRenderers not supporting background color and alpha, check out the Musings on AdvancedDataGrid series. HTH; Amy

