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

ADG not updated immediately after formatter change

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 3.0 (Release)
    • Adobe Flex SDK Previous
    • ADG:Formatting
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a AdvancedDataGrid containing columns and data, and show it
      2. While it it visible, set a formatter on one of its columns

      Actual Results:
      Nothing happens visually. Only after a redraw is forced (for example when it's got hierarchical data by expanding some nodes) the formatter takes effect.

      Expected Results:
      The formatter should take effect immediately.

      Workaround (if any):
      Changing other properties of a column does force it to refresh, so just setting one of those properties (like dataField) to its current value whenever you set a formatter on it solves it.

      Solution:
      Didn't test, but it looks like changing owner.invalidateDisplayList() to owner.invalidateList() in AdvancedDataGridColumn.set formatter should fix this bug.

      Simple example showing the problem attached.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: