flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pan Li (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-35237) DataGridLayout is broken
Date Thu, 05 Jan 2017 03:47:58 GMT
Pan Li created FLEX-35237:
-----------------------------

             Summary: 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


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)

Mime
View raw message