FXG for a right arrow (or chevron rotated to the right):
<s:Graphic width="100" height="100" > <s:Group width="100" height="100" > <s:Path data="M 0 0 L 50 50 L 0 100 L 50 50 L 0 0 z"> <s:fill> <s:SolidColor color="#FF0000" /> </s:fill> <s:stroke> <s:SolidColorStroke weight="10" color="#FFFFFF" joints="round"/> </s:stroke> </s:Path> </s:Group> </s:Graphic>
At a smaller size:
<s:Graphic width="24" height="24"> <s:Group width="100" height="100" > <s:Path data="M 0 0 L 50 50 L 0 100 L 50 50 L 0 0 z"> <s:fill> <s:SolidColor color="#FF0000" /> </s:fill> <s:stroke> <s:SolidColorStroke weight="10" color="#CCCCCC" joints="round"/> </s:stroke> </s:Path> </s:Group> </s:Graphic>
In an ItemRenderer that shows when the row is selected:
<s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
width="100%"
>
<fx:Script>
<![CDATA[
override public function set selected(value:Boolean):void {
super.selected = value;
chevron.visible = value;
}
]]>
</fx:Script>
<s:Label id="labelDisplay"
paddingBottom="10" paddingRight="10"
paddingLeft="20" paddingTop="10"
left="1" right="1"
top="1" bottom="1"
verticalAlign="middle"
textAlign="left"
>
</s:Label>
<s:Graphic id="chevron" width="24" height="24" verticalCenter="0" right="5">
<s:Group width="100" height="100" >
<s:Path data="M 0 0 L 50 50 L 0 100 L 50 50 L 0 0 z">
<s:fill>
<s:SolidColor color="#FF0000" />
</s:fill>
<s:stroke>
<s:SolidColorStroke weight="10" color="#FFFFFF" joints="round"/>
</s:stroke>
</s:Path>
</s:Group>
</s:Graphic>
</s:ItemRenderer>
A triangle facing right:
<s:Graphic id="triangle" width="50" height="50" > <s:Group width="100" height="100" > <s:Path data="M 0 0 L 50 50 L 0 100 z"> <s:fill> <s:SolidColor color="#FF0000" /> </s:fill> <s:stroke> <s:SolidColorStroke weight="10" color="#FFFFFF" joints="round"/> </s:stroke> </s:Path> </s:Group> </s:Graphic>
Triangle facing left:
<s:Graphic id="triangle" width="50" height="50" > <s:Group width="100" height="100" > <s:Path data="M 0 50 L 50 100 L 50 0 z"> <s:fill> <s:SolidColor color="#FF0000" /> </s:fill> <s:stroke> <s:SolidColorStroke weight="10" color="#FFFFFF" joints="round"/> </s:stroke> </s:Path> </s:Group> </s:Graphic>
Triangle facing up:
<s:Graphic id="triangle" width="50" height="50" > <s:Group width="100" height="100" > <s:Path data="M 0 50 L 100 50 L 50 0 z"> <s:fill> <s:SolidColor color="#FF0000" /> </s:fill> <s:stroke> <s:SolidColorStroke weight="10" color="#FFFFFF" joints="round"/> </s:stroke> </s:Path> </s:Group> </s:Graphic>
Triangle facing down:
<s:Graphic id="triangle" width="50" height="50" > <s:Group width="100" height="100" > <s:Path data="M 0 0 L 50 50 L 100 0 z"> <s:fill> <s:SolidColor color="#FF0000" /> </s:fill> <s:stroke> <s:SolidColorStroke weight="10" color="#FFFFFF" joints="round"/> </s:stroke> </s:Path> </s:Group> </s:Graphic>


Thanks for posting this! It was a big help for me.