Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4600E1058D for ; Tue, 28 Jan 2014 04:28:11 +0000 (UTC) Received: (qmail 36860 invoked by uid 500); 28 Jan 2014 04:28:10 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 36836 invoked by uid 500); 28 Jan 2014 04:28:10 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 36827 invoked by uid 99); 28 Jan 2014 04:28:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jan 2014 04:28:10 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: unknown (athena.apache.org: error in processing during lookup of aharui@adobe.com) Received: from [207.46.163.240] (HELO na01-by2-obe.outbound.protection.outlook.com) (207.46.163.240) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jan 2014 04:28:05 +0000 Received: from BL2PR02MB500.namprd02.prod.outlook.com (10.141.95.147) by BL2PR02MB499.namprd02.prod.outlook.com (10.141.95.143) with Microsoft SMTP Server (TLS) id 15.0.859.15; Tue, 28 Jan 2014 04:27:43 +0000 Received: from BL2PR02MB500.namprd02.prod.outlook.com ([10.141.95.147]) by BL2PR02MB500.namprd02.prod.outlook.com ([10.141.95.147]) with mapi id 15.00.0859.020; Tue, 28 Jan 2014 04:27:43 +0000 From: Alex Harui To: "users@flex.apache.org" Subject: Re: Spark GridView and accessing the rendererLayer (4.10+) Thread-Topic: Spark GridView and accessing the rendererLayer (4.10+) Thread-Index: AQHPG79H4XEqRDx5a0WhhQhJKQbzDpqZBO0A Date: Tue, 28 Jan 2014 04:27:42 +0000 Message-ID: References: <1390868546589-4649.post@n4.nabble.com> In-Reply-To: <1390868546589-4649.post@n4.nabble.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.9.131030 x-originating-ip: [63.228.98.98] x-forefront-prvs: 0105DAA385 x-forefront-antispam-report: SFV:NSPM;SFS:(10019001)(6009001)(24454002)(53754006)(189002)(199002)(377454003)(479174003)(51704005)(56816005)(90146001)(46102001)(51856001)(76482001)(92726001)(80976001)(56776001)(93136001)(54316002)(81542001)(94316002)(79102001)(19580405001)(19580395003)(83322001)(63696002)(87266001)(2656002)(77982001)(59766001)(36756003)(74366001)(87936001)(76786001)(76796001)(74662001)(47446002)(74502001)(31966008)(69226001)(86362001)(93516002)(4396001)(85306002)(83072002)(85852003)(81342001)(53806001)(54356001)(81686001)(92566001)(81816001)(74876001)(83506001)(49866001)(47736001)(65816001)(74706001)(50986001)(47976001)(80022001)(66066001);DIR:OUT;SFP:1102;SCL:1;SRVR:BL2PR02MB499;H:BL2PR02MB500.namprd02.prod.outlook.com;CLIP:63.228.98.98;FPR:;InfoNoRecordsMX:1;A:1;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-ID: <4D6D19646CBFD642AADB32FB18C9FE10@namprd02.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: adobe.com X-Virus-Checked: Checked by ClamAV on apache.org I thought you were supposed to use datagrid.grid.getItemRendererAt On 1/27/14 4:22 PM, "chromalux" wrote: >Hi Everybody,=20 > >We've run into an issue accessing the rendererLayer in a Spark grid in >4.10. >It appears that this might be from the changes in the grid skin where the >gridLayers are now wrapped with a GridView. > >Our custom skin has been updated to include the required GridView wrapper: > > > > > > > > > > > > > >=20 > >Previously we could access the rendererLayer on partAdded like this: > >const rendererLayer:GridLayer =3D >dataGrid.grid.getChildByName("rendererLayer") as GridLayer; >rendererLayer.addEventListener(ElementExistenceEvent.ELEMENT_ADD, >rendererLayer_elementAddHandler); > >But that doesn't work anymore. I've tried accessing it via the >grid.layout, >adding an id to the gridView and I've tried using updateComplete instead >of >partAdded (which is too late anyway) and a few other ways but with no luck >so far. Any suggestions on how to reference the rendererLayer via the grid >would be appreciated. > >Ultimately what we're after is the renderers themselves as they are >created >and not the rendererLayer itself. If there is another way of getting at >those that would eliminate the need to access the rendererLayer that would >work as well.=20 > >Thanks a lot,=20 > >-Michael > > > >-- >View this message in context: >http://apache-flex-users.2333346.n4.nabble.com/Spark-GridView-and-accessin >g-the-rendererLayer-4-10-tp4649.html >Sent from the Apache Flex Users mailing list archive at Nabble.com.