Thanks a lot Shobita. It worked like a charm, exactly the thing i was looking for :-)
On Thu, Feb 18, 2010 at 12:34 PM, Shobita <s.shob...@gmail.com> wrote: > Create a custom DG and add this method in it. You can get the > itemrenderer of the required cell using this method. > > public function indexToCellItemRenderer(rowIndex:int, > columnIndex:int):IListItemRenderer > { > var firstItemIndex:int = verticalScrollPosition - > offscreenExtraRowsTop; > > if (rowIndex < firstItemIndex || > rowIndex >= firstItemIndex + listItems.length) > { > return null; > } > > return listItems[rowIndex - > firstItemIndex][columnIndex]; > } > > On Feb 17, 9:01 pm, Ravi M <flashr...@gmail.com> wrote: > > You can use labelfunction or Style function and write some condition to > > change property. > > > > Ravi > > > > > > > > On Wed, Feb 17, 2010 at 5:26 PM, Arindam Dhar <arin.d...@gmail.com> > wrote: > > > Hi, > > > > > I have a editable AdvancedDataGrid, with x rows and y columns. Each > cell > > > has itemrenderer. > > > > > Now, suppose at some event,say, button click , i want to target the > > > itemrenderer object in ,for ex., row 1 , col 2 and change some property > of > > > the same, how do I address the same? > > > > > I could find out the columnIndex and rowIndex only when item is edited. > > > > > Appreciate some quick help or suggestion. > > > > > regards, > > > > > Arindam > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Flex India Community" group. > > > To post to this group, send email to flex_in...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> > <flex_india%2bunsubscr...@googlegrou ps.com> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/flex_india?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to flex_in...@googlegroups.com. > To unsubscribe from this group, send email to > flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.