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 <[email protected]> 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 <[email protected]> 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 [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<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 [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