Getting Your ItemRenderer to Behave With The DataGridDecember 10th, 2008
The columns that used my ItemRenderer weren't responding to the
'itemClick' event that was set on the DataGrid (but the
columns that weren't using the ItemRenderer WERE responding to it).So I added this code to my Itemrenderer... //in the constructor I put this.... this.addEventListener(ListEvent.ITEM_CLICK,handleClick); //and here's the handler that I added... private function handleClick(evt:ListEvent):void{ dispatchEvent(evt); } I wouldn't be surprised if there is some simple property to set that can overcome this, and I hate add event listeners if I don't have to. So, if anyone out there has some advice, please post a comment. |
![]() RECENT ARTICLES
Stack Error 1023 - My Strange Encounter With Error 1023
Passing Values to a Custom ItemRenderer Using a File Reference to Upload to ASP.net Flex - Create a Dashboard That Allows Drag and Resize Strange Hack For Downloading With a FileReference Using SharedObjects Flex Checkbox TreeItemRenderer Flex - Dynamically Create Time Segments MORE... |
