[flex_india:28636] Re: Accessing a itemrenderer in a cell in ADG

2010-02-17 Thread Shobita
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 = verticalScr

[flex_india:27625] Re: Scroll Event issue with HScrollBar

2010-01-06 Thread Shobita
Since you will be calling the webService inside the event handler, it will be called only the 1st time. There after the handler will not be invoked. On Jan 4, 12:06 pm, Ravi wrote: > thanks for reply shobita, > can you please explain me in detailBecause if we remove the > listener

[flex_india:27589] Re: Scroll Event issue with HScrollBar

2010-01-02 Thread Shobita
Remove the event listener in the handler. You can add it again later private function onScroll(event:Event):void { event.currentTarget.removeEventListener(ScrollEvent.SCROLL, onScroll); // webService call } Make sure you add the event lister in AS and not mxml. On Dec 31 2009, 1