Hi Ganesh, Well, you will have to first get the reference of the itemRenderers (start and end points). With the reference, you can get their x/y co-ordinates and their global co-ordinates as well using localToGlobal() method. And then just draw a line using the Graphics class between the points derived from localToGlobal method.
And in case your datagrid has a scrollbar, put the datagrid inside a canvas and set its rowCount to the number of rows. And then do what's mentioned above. Regards, Venkat www.venkatv.com On Tue, Oct 7, 2008 at 8:16 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 - > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

