Coloring the DataGrid Background

Peter Ent has posted a really neat tutorial on extending the Datagrid widget to support more options of background coloring. This is one of the most elaborate and precise explanations, I have come across so far. Its not just a DataGrid component, he walks the reader through each method that has to be written so as to achieve each individual style. Especially if you are not used to Overriding protected methods, extending Classes etc., this post should really get you started.

Peter also explains various options available to color the background of a cell – with itemRenderer, without itemRenderer, setting alphas etc. It’s a must read for all! In my CustomGrid component, I am using the RowColorDataGrid component by Mike Nimer to facilitate the highlight search. Though, I have to admit, that I haven’t quiet walked through the code of the RowColorDataGrid component yet. Peter’s post rang many bells!!🙂

The Flex DataGrid is probably the most commonly used control (after Labels and Buttons). One question that keeps popping up is, “How do I color the background of the cells?” I’ll answer that question plus show you how to color the background of columns and rows, too.

[ Read more… | Source ]

8 Responses to Coloring the DataGrid Background

  1. deposit free bonus casino
    see to signature…

  2. Alexwebmaster says:

    Hello webmaster
    I would like to share with you a link to your site
    write me here preonrelt@mail.ru

  3. Pingback: DataGrid colorindo » Bruno bg + ADOBE FLEX

  4. You would not believe how long ive been looking for something like this. Scrolled through 7 pages of Yahoo results and couldnt find anything. First page of bing. There was this…. Gotta start using that more often

  5. Jenna says:

    I think this is among the most significant info for me. And i
    am glad reading your article. But want to remark on few general things, The site style is ideal, the articles is really
    nice : D. Good job, cheers

  6. Sherrie says:

    It’s awesome to pay a visit this website and reading the views of all friends on the topic of this paragraph, while I am also eager of getting know-how.

  7. Maryellen says:

    Wow, this post is pleasant, my sister is analyzing these kinds of things,
    therefore I am going to tell her.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: