Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D26BF10A24 for ; Tue, 1 Jul 2014 10:59:24 +0000 (UTC) Received: (qmail 944 invoked by uid 500); 1 Jul 2014 10:59:24 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 898 invoked by uid 500); 1 Jul 2014 10:59:24 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 765 invoked by uid 99); 1 Jul 2014 10:59:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2014 10:59:24 +0000 Date: Tue, 1 Jul 2014 10:59:24 +0000 (UTC) From: "Mihai Chira (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-32541) sortable ou sortableColumns = false still shows box of sorting and sortItemRenderer = null throws error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-32541?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1404= 8759#comment-14048759 ]=20 Mihai Chira commented on FLEX-32541: ------------------------------------ I'm not sure if it's usually null, but I am sure that there are null checks= for sortItemRendererInstance everywhere else in the class except for that = function. > sortable ou sortableColumns =3D false still shows box of sorting and sort= ItemRenderer =3D null throws error > -------------------------------------------------------------------------= ------------------------------ > > Key: FLEX-32541 > URL: https://issues.apache.org/jira/browse/FLEX-32541 > Project: Apache Flex > Issue Type: Bug > Components: Advanced Data Grid > Affects Versions: Adobe Flex SDK Previous, Apache Flex 4.12.1 > Environment: Affected OS(s): Windows > Affected OS(s): Windows XP > Language Found: English > Reporter: Adobe JIRA > Assignee: Alex Harui > Priority: Minor > Fix For: Apache Flex 4.12.2 > > Attachments: FLEX-32541.patch, _sortItemRendererNullRTE.fxp > > > Steps to reproduce: > 1. Run Teste.mxml. First and second columns of first AdvancedDataGrid are= sortable =3D false, but same thus shows the box of sorting. > 2. Click at button, the first collomn shows the arrow of sorting, this is= sortable =3D false. > 3. At second AdvancedDataGrid sortItemRenderer=3D"{null}", but throws err= or below when mouse over the headers. > TypeError: Error #1009: N=C3=A3o =C3=A9 poss=C3=ADvel acessar uma proprie= dade ou um m=C3=A9todo de uma refer=C3=AAncia de objeto nula. > =09at mx.controls.advancedDataGridClasses::AdvancedDataGridHeaderRenderer= /mouseEventToHeaderPart()[C:\work\flex\dmv_automation\projects\datavisualis= ation\src\mx\controls\advancedDataGridClasses\AdvancedDataGridHeaderRendere= r.as:738] > =09at mx.controls::AdvancedDataGrid/mouseOverHandler()[C:\work\flex\dmv_a= utomation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:64= 93] > =09at mx.controls.listClasses::AdvancedListBase/mouseMoveHandler()[C:\wor= k\flex\dmv_automation\projects\datavisualisation\src\mx\controls\listClasse= s\AdvancedListBase.as:8119]=20 > SDK 3.3=20 > DMV 3.3 > Workaround: > Class ADGHeaderRenderer > =20 > Expected Results: > Box of sorting don't shows when sortable ou sortableColumns =3D false or = sortItemRenderer =3D null. > Please, sorry my poor English. -- This message was sent by Atlassian JIRA (v6.2#6252)