[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

AdvancedDataGrid Summary row color

Posted on 2009-04-13
5
Medium Priority
?
2,111 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 2000 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

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…
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

656 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