VKN9876
asked on
AdvancedDataGrid Summary row color
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?
ASKER
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:AdvancedDataGridCol umn) : 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?
I can write a stylefunction as follows
public function dataGrid_styleFunction (data:Object, column:AdvancedDataGridCol
{
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?
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.
There they talk about styling columns and styling rows.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
thanx 4 axxepting
http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_10.html