Thanks a lot for all the solutions. I have thought of doing this using
chart.

On Oct 8, 3:21 pm, Mann <[EMAIL PROTECTED]> wrote:
> if I m right understanding u .It will help u.
> just used draw straight red and blue line like this || and save in
> assets folder redbluebar.gif.
>
> here is code:-
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
>         layout="vertical"
>         verticalAlign="middle"
>         backgroundColor="white">
>
>     <mx:Script>
>         <![CDATA[
>             [Bindable]
>             [Embed(source="./assets/redbluebar.gif")]
>             private var RedBlueBar:Class;
>
>                  ]]>
>     </mx:Script>
>
>     <mx:Style>
>         .centered {
>             fontWeight: bold;
>             textAlign: center;
>         }
>     </mx:Style>
>
>     <mx:Array id="arr">
>         <mx:Object country="USA"
>                 gold="35"
>                 silver="39"
>                 bronze="29" />
>         <mx:Object country="China"
>                 gold="32"
>                 silver="17"
>                 bronze="14" />
>         <mx:Object country="Russia"
>                 gold="27"
>                 silver="27"
>                 bronze="38" />
>     </mx:Array>
>
>     <mx:ApplicationControlBar dock="true">
>         <mx:CheckBox id="hGridLines"
>                 label="horizontalGridLines"
>                 selected="true" />
>
>         <mx:Spacer width="50" />
>
>         <mx:CheckBox id="vGridLines"
>                 label="verticalGridLines"
>                 selected="true" />
>     </mx:ApplicationControlBar>
>
>     <mx:DataGrid id="dataGrid"
>             dataProvider="{arr}"
>             headerStyleName="centered"
>             horizontalSeparatorSkin="{RedBlueBar}"
>             horizontalGridLines="{hGridLines.selected}"
>             verticalSeparatorSkin="{RedBlueBar}"
>             verticalGridLines="{vGridLines.selected}">
>         <mx:columns>
>             <mx:DataGridColumn dataField="country"
>                     headerText="Country:"
>                     textAlign="left" />
>             <mx:DataGridColumn dataField="gold"
>                     headerText="Gold:"
>                     textAlign="right" />
>             <mx:DataGridColumn dataField="silver"
>                     headerText="Silver:"
>                     textAlign="right" />
>             <mx:DataGridColumn dataField="bronze"
>                     headerText="Bronze:"
>                     textAlign="right" />
>         </mx:columns>
>     </mx:DataGrid>
>
> </mx:Application>
>
> On Oct 8, 12:20 pm, imtiyaz <[EMAIL PROTECTED]> wrote:
>
>
>
> > From the usability point of view I suggest use the same color for the
> > related cells.
>
> > Regards,
> > Imtiyaz Basha M S
>
> > On Oct 7, 7:46 pm, ganesh <[EMAIL PROTECTED]> wrote:
>
> > > I want to show the relation between two different cells in a datagrid
> > > by joining all the related cells using a line. These related cells can
> > > be in any row or any column. They are scatterred on different column
> > > or row. Hope you got the scenario.
>
> > > On Oct 7, 7:27 pm, imtiyaz <[EMAIL PROTECTED]> wrote:
>
> > > > May I know the usecase of this scenario.
>
> > > > Regards,
> > > > Imtiyaz Basha
>
> > > > On Oct 7, 7:23 pm, ganesh <[EMAIL PROTECTED]> wrote:
>
> > > > > can we connect two cells which are on a different column and different
> > > > > row on adatagridby drawing aline? Is there any example application?
> > > > > Any idea would be very useful. Thank you in advance.- Hide quoted 
> > > > > text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to