Tim,

 

It is especially encouraging to see CSS enable this type of customization in a component. This is a very nice simplification for the developer and adds allot of value.

 

It is a great visualization combined with row sorting. Sorting the ‘Status’ or ‘Balance’ columns yields a great visual effect for the end user.

View Component

It is also great to see a component arrive from someone who said this before:

“I'm joining this list to learn from your expertise and eventually contribute.” Tim Hoff

Tim, thanks for contributing early and getting involved. We all just learned a really great technique from your contribution and I think we will see more CSS + custom components as a result.

If you haven’t heard me say it:

Post questions, components, and code to FlexComponents. Don’t be nervous about contributing or making mistakes publicly, everyone will learn something from your contribution. If you have a question about how something works, there are others pondering the exact question in silence.

Get involved, post, make mistakes, and learn.

It is my hope that this list exudes the ethos of discovery and exploration. There's nothing like getting your hands on something to understand it. What would the world be if the Wright brothers had not mucked around with bicycles and kites.     

Kudos Tim!

 

Ted Patrick

Flex Evangelist

Adobe Systems Incorporated

 

 


From: [email protected] [mailto:[email protected]] On Behalf Of Tim Hoff
Sent: Wednesday, July 26, 2006 9:18 PM
To: [email protected]
Subject: [flexcomponents] Re: First real component attempt

 

Thanks Manish,

Your suggestions helped move me in right direction.  With the help of Jason (Pan Troglodytes at flexcoders), here is a DataGrid component that can be used to conditionally change rowColors through CSS.

View Component

It's not that complicated, but it's a start.  Thank you all for your input.

Tim Hoff

--- In flexcomponents@yahoogroups.com, "Manish Jethani" <manish.jethani@...> wrote:
>
> 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 a! nd
> > 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
>

__._,_.___


SPONSORED LINKS
Custom software development Database development software Embedded software development
Offshore software development Software development


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to