ReferenceError: Error #1065: 변수 dataGridArray 정의되지 않음
ReferenceError: Error #1065: dataGridArray 。
at global/flash.utils::getDefinitionByName()
at mx.utils::DescribeTypeCache$/describeType()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\utils\DescribeTypeCache.as:106]
at mx.utils::ObjectUtil$/getClassInfo()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\utils\ObjectUtil.as:932]
at mx.controls::DataGrid/generateCols()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\controls\DataGrid.as:2753]
at mx.controls::DataGrid/collectionChangeHandler()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\controls\DataGrid.as:4633]
at mx.controls.listClasses::ListBase/set dataProvider()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\controls\listClasses\ListBase.as:2258]
at mx.controls::DataGrid/set dataProvider()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\controls\DataGrid.as:1640]
at mx.core::Container/createComponentFromDescriptor()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\Container.as:4285]
at mx.core::Container/createComponentsFromDescriptors()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\Container.as:4160]
at mx.core::Container/createChildren()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\Container.as:3187]
at mx.core::UIComponent/initialize()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:7250]
at mx.core::Container/initialize()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\Container.as:3129]
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:7142]
at mx.core::UIComponent/addChildAt()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:6848]
at spark.components::Group/addDisplayObjectToDisplayList()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\Group.as:1825]
at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\Group.as:1416]
at spark.components::Group/setMXMLContent()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\Group.as:512]
at spark.components::Group/set mxmlContent()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\Group.as:452]
at spark.components::SkinnableContainer/set mxmlContent()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:604]
at spark.components::SkinnableContainer/createDeferredContent()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:986]
at spark.components::SkinnableContainer/createContentIfNeeded()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:1014]
at spark.components::SkinnableContainer/createChildren()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:827]
at mx.core::UIComponent/initialize()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:7250]
at componts::WinDrag/initialize()
at mx.managers.systemClasses::ChildManager/childAdded()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:189]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:1963]
at mx.managers::SystemManager/addChildAt()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:1595]
at mx.managers::SystemManager/addChild()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:1578]
at mx.managers::PopUpManagerImpl/addPopUp()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\PopUpManagerImpl.as:345]
at mx.managers::PopUpManagerImpl/createPopUp()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\PopUpManagerImpl.as:236]
at mx.managers::PopUpManager$/createPopUp()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\PopUpManager.as:139]
at TitleWindow/clickHandler()[D:\Adobe Flash Builder 4 Installer\TitleWindow\src\TitleWindow.mxml:18]
at TitleWindow/___TitleWindow_Button1_click()[D:\Adobe Flash Builder 4 Installer\TitleWindow\src\TitleWindow.mxml:30]
2. 오류 원인
dataGridArray는 ArrayCollection 형식이기 때문에 표의 데이터가 귀속될 때 dataProvider = "dataGridArray"로 인해 오류가 발생했습니다.
3. 해결 방법
dataProvider="dataGridArray"를 dataProvider="{dataGridArray}"로 수정하고 문법 주의
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
EasyUI Datagrid Datetime(EasyUI DataGrid 시간 포맷)EasyUI DataGrid 시간 포맷 방법 1: 위에서 이러한 방법은 데이터grid에서 시험하였습니다.varobj=eval('('+'{Date: new'+value+'}'+').이 말은 도망갈 수 없다! 다음 방법...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.