Hi Ben,

The code below changes that bottom border.  Is this what you're trying
to do?  I am sending along a screen shot. 

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute">

        <mx:DataGrid height="400" borderColor="0x0000ff">
                <mx:dataProvider>
                        <mx:Array>
                                <mx:Object label="A" key="1" name="Hal"
/>
                                <mx:Object label="B" key="2" name="Val"
/>
                                <mx:Object label="C" key="3" name="Dale"
/>
                                <mx:Object label="D" key="4" name="Male"
/>
                                <mx:Object label="E" key="5" name="Ale"
/>
                                <mx:Object label="F" key="6" name="Jail"
/>
                                <mx:Object label="G" key="7" name="Mail"
/>
                                <mx:Object label="H" key="8" name="Nail"
/>
                        </mx:Array>

                </mx:dataProvider>
        </mx:DataGrid>  
</mx:Application>

- Rob


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Wednesday, November 15, 2006 8:28 AM
To: [email protected]
Subject: [flexcoders] How can I change the color of DataGrid header's
bottom border?

Good god skinning is harder than it should be. I have managed to
change the color of the vertical separators between column headers by
coding my own headerSeparatorSkin class, but I cannot find where to
change the bottom border. I have created a custom style and assigned
it to headerStyleName, but only text related properties seem to do
anything. background-color: #FF0000; doesn't even do anything.

Anyone have any clue how to do this?

Thanks,
Ben




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links




<<attachment: screenshot.jpg>>

Reply via email to