Export to GitHub

mad-components - issue #52

UIFastDataGrid without title


Posted on Apr 29, 2014 by Quick Hippo

What steps will reproduce the problem? 1. create UIFastDataGrid wthout <title> tag: <fastDataGrid id="myList" alignH="fill" alignV="fill"> </fastDataGrid> 2. add data 3. get error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.danielfreeman.extendedMadness::UIFastDataGrid/drawBackground()[E:\Workspaces\msw\mysalesworldapp\madComponents\ExtendedMadnessLib\src\com\danielfreeman\extendedMadness\UIFastDataGrid.as:324] at com.danielfreeman.extendedMadness::UIFastDataGrid/doLayout()[E:\Workspaces\msw\mysalesworldapp\madComponents\ExtendedMadnessLib\src\com\danielfreeman\extendedMadness\UIFastDataGrid.as:519] at com.danielfreeman.extendedMadness::UIFastDataGrid/setData()[E:\Workspaces\msw\mysalesworldapp\madComponents\ExtendedMadnessLib\src\com\danielfreeman\extendedMadness\UIFastDataGrid.as:647] (...)

What is the expected output? What do you see instead? UIFastDataGrid displayed correctly wihout title bar

What version of the product are you using? On what operating system? trunk

Please provide any additional information below. Porobably it would be enough to add: if(_title != null) in UIFastDataGrid.as line 324

Status: New

Labels:
Type-Defect Priority-Medium