Solved

AdvancedDataGrid Summary row color

Posted on 2009-04-13
5
2,107 Views
Last Modified: 2012-05-06
I'm  doing grouping collection Tree View)  on my Datagrid and want to color the the root node, where I'm displaying the summary (i.e. count of records). How this can be done?
0
Comment
Question by:VKN9876
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 37

Expert Comment

by:zzynx
ID: 24135734
You'll probably need to write your own item renderer.
http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_10.html
0
 

Author Comment

by:VKN9876
ID: 24142806
I'm not using itemrenderer. I'm just saying      summaryPlacement = "group";

I can write a stylefunction as follows

public function dataGrid_styleFunction (data:Object, column:AdvancedDataGridColumn) : Object
        {
         var output:Object;

           if ( data.children != null )
                  {
                    output = {color:0x081EA6, fontWeight:"bold", fontSize:14}
                 }


             return output;
}

How do I specify the entire row background color?
0
 
LVL 37

Expert Comment

by:zzynx
ID: 24145295
Have a look @ http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_04.html
There they talk about styling columns and styling rows.
0
 
LVL 37

Accepted Solution

by:
zzynx earned 500 total points
ID: 24145361
Oh, I think I understand what you mean.
The emphasis of your question is about BACKGROUNDcolor instead of color. Right?
I think this can help: http://weblogs.macromedia.com/pent/archives/2007/02/coloring_the_ba.html
0
 
LVL 37

Expert Comment

by:zzynx
ID: 24285700
thanx 4 axxepting
0

Featured Post

RoboForm Secure Password Management System

RoboForm Everywhere - Superb Browser Support
Windows / Apple / IOS / Android / Linux / Chrome OS
Use different complex passwords everywhere
Best Secure Password Management by far
Synchronize all of your devices instantly
Safe, Secure & Highly Recommended!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
Changing a few Outlook Options can help keep you organized!
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question