In my opinion this is a function of the Component and would not participate in the MVC aspect of your application. For that reason I would suggest that the best way to accomplish this is to extend the DataGrid component or create a helper class that works with ListBase.
Flex is a solid Framework already with it's own structure and patterns. Cairngorm facilitates putting the different components of that framework together to make an MVC-based application.
There are many examples 'making something glow when something happens' in the Flex franework; for instance when the TextField glows when a user didn't fill in required information to a Form and even the mouse-over state of a button - and neither of these use MVC. You can open up the source code of every Flex component by ctrl-clicking the Class name in FlexBuilder to see for yourself. This is the method I use to see how Adobe saw fit to do something simmilar to what I'm trying to accomplish.
You might consider joining the Flex Component Development Group and asking them the same question. Once you've got that first row glowing you can come back here if you have question about putting it all back together. :^)
You might consider joining the Flex Component Development Group and asking them the same question. Once you've got that first row glowing you can come back here if you have question about putting it all back together. :^)
Hope that helps,
-Evan
From: cairngorm-documentation@yahoogroups.com [mailto:cairngorm-documentation@yahoogroups.com] On Behalf Of Bob Mattax
Sent: Thursday, January 01, 2009 9:55 AM
To: cairngorm-documentation@yahoogroups.com
Subject: Re: [cairngorm-documentation] Re: Cairngorm + Glow effect on DataGrid change
Unfortunately, no, though I have had a couple ideas since then. If I ever implement any of them successfully I'll let you know and would appreciate the same.
Thanks,
Bob
On Thu, Jan 1, 2009 at 10:21 AM, jeremysavoy <jeremysavoy@yahoo.com > wrote:
Hi, just wondering if you ever found a good way to do this? I'd like
to implement something like this as well.
--- In cairngorm-documentation@yahoogroups , "rlmattax".com
<rlmattax@...> wrote:
>
> Hello,
>
> I'm struggling with figuring out how to "properly" add a glow effect
> to a newly added row to a data grid. Does anyone have any suggestions
> or examples on how to handle something like this?
>
> Thanks,
> Bob
>