Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-32541

sortable ou sortableColumns = false still shows box of sorting and sortItemRenderer = null throws error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Adobe Flex SDK Previous, Apache Flex 4.12.1
    • Fix Version/s: Apache Flex 4.14.0
    • Component/s: Advanced Data Grid
    • Labels:
      None
    • Environment:
      Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

      Description

      Steps to reproduce:
      1. Run Teste.mxml. First and second columns of first AdvancedDataGrid are sortable = false, but same thus shows the box of sorting.
      2. Click at button, the first collomn shows the arrow of sorting, this is sortable = false.
      3. At second AdvancedDataGrid sortItemRenderer="

      {null}

      ", but throws error below when mouse over the headers.

      TypeError: Error #1009: Não é possível acessar uma propriedade ou um método de uma referência de objeto nula.
      at mx.controls.advancedDataGridClasses::AdvancedDataGridHeaderRenderer/mouseEventToHeaderPart()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\advancedDataGridClasses\AdvancedDataGridHeaderRenderer.as:738]
      at mx.controls::AdvancedDataGrid/mouseOverHandler()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:6493]
      at mx.controls.listClasses::AdvancedListBase/mouseMoveHandler()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\listClasses\AdvancedListBase.as:8119]

      SDK 3.3
      DMV 3.3

      Workaround:
      Class ADGHeaderRenderer

      Expected Results:
      Box of sorting don't shows when sortable ou sortableColumns = false or sortItemRenderer = null.

      Please, sorry my poor English.

        Attachments

        1. _sortItemRendererNullRTE.fxp
          20 kB
          Mihai Chira
        2. FLEX-32541.patch
          1 kB
          Mihai Chira

          Activity

            People

            • Assignee:
              evolverine Mihai Chira
              Reporter:
              adobejira Adobe JIRA
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: