You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Pan Li (JIRA)" <ji...@apache.org> on 2017/01/05 03:49:58 UTC
[jira] [Updated] (FLEX-35237) DataGridLayout is broken
[ https://issues.apache.org/jira/browse/FLEX-35237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pan Li updated FLEX-35237:
--------------------------
Attachment: ModifiedDataGridExampleForReproducingProblem.zip
> DataGridLayout is broken
> ------------------------
>
> Key: FLEX-35237
> URL: https://issues.apache.org/jira/browse/FLEX-35237
> Project: Apache Flex
> Issue Type: Bug
> Components: FlexJS
> Affects Versions: Apache FlexJS 0.7.0, Apache FlexJS 0.8.0
> Reporter: Pan Li
> Priority: Critical
> Attachments: ModifiedDataGridExampleForReproducingProblem.zip
>
>
> DataGridLayout doesn't work. To reproduce the problem:
> Take the SDK's datagrid sample, change
> DataGridPercentageLayout to
> <js:DataGridLayout />
> running the updated code in js mode, the application fails with javascript error:
> {code}
> TypeError: this._header is undefined[Learn More] DataGridLayout.js:81:5
> org.apache.flex.html.beads.layouts.DataGridLayout.prototype.layout file:///Users/lipan/Downloads/DataGridExampleTest/bin/js-debug/org/apache/flex/html/beads/layouts/DataGridLayout.js:81:5
> org.apache.flex.html.beads.layouts.DataGridLayout.prototype.handleSizeChanges file:///Users/lipan/Downloads/DataGridExampleTest/bin/js-debug/org/apache/flex/html/beads/layouts/DataGridLayout.js:130:3
> bound self-hosted
> goog.events.EventTarget.prototype.fireListeners file:///Users/lipan/Downloads/DataGridExampleTest/bin/js-debug/library/closure/goog/events/eventtarget.js:284:12
> goog.events.EventTarget.dispatchEventInternal_ file:///Users/lipan/Downloads/DataGridExampleTest/bin/js-debug/library/closure/goog/events/eventtarget.js:381:12
> goog.events.EventTarget.prototype.dispatchEvent file:///Users/lipan/Downloads/DataGridExampleTest/bin/js-debug/library/closure/goog/events/eventtarget.js:196:10
> org.apache.flex.events.EventDispatcher.prototype.dispatchEvent file:///Users/lipan/Downloads/DataGridExampleTest/bin/js-debug/org/apache/flex/events/EventDispatcher.js:67:12
> org.apache.flex.core.ElementWrapper.prototype.dispatchEvent file:///Users/lipan/Downloads/DataGridExampleTest/bin/js-debug/org/apache/flex/core/ElementWrapper.js:211:12
> org.apache.flex.html.beads.DataGridView.prototype.createLists file:///Users/lipan/Downloads/DataGridExampleTest/bin/js-debug/org/apache/flex/html/beads/DataGridView.js:182:3
> org.apache.flex.html.beads.DataGridView.prototype.handleDataProviderChanged file:///Users/lipan/Downloads/DataGridExampleTest/bin/js-debug/org/apache/flex/html/beads/DataGridView.js:131:5
> bound self-hosted
> org.apache.f
> {code}
> check attachment for updated DataGridExample code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)