On 7/17/06, Tim Hoff <[EMAIL PROTECTED]> wrote: > 1. In drawRowBackgrounds(), I'm looping by curRow, CSS > rowBackgroundColors, and curCol (Columns) - to match the columns > [curCol].dataField with the CSS fieldName. This works fine. The > problem that I'm having is getting the cell data to compare with the > CSS value. I've banged on this for while now, but keep coming up > short.
The 'iterator' variable (protected) always points to the topmost visible row. You can get the data from there by looking up the 'dataField' in the collection. > 2. Is there a way to draw the row background at the same time that > the data is rendered? Currently the row backgrounds are painted and > a delay occurs before the cells are filed with data. Not the best > look. :-/ > 3. Wish-list: Is there an easy way to blend (mid-tween) two row > backgroundColors, should the row meet multiple conditions. I > suppose that I would also need to consider the column > backgroundColor, but let's take it one step at a time. So if you're drawing with a non-1 alpha, the colours will blend. Manish ------------------------ Yahoo! Groups Sponsor --------------------~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcomponents/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
