You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "rishi raj tripathi (JIRA)" <ji...@apache.org> on 2013/04/04 10:27:15 UTC

[jira] [Created] (FLEX-33475) Advanced Data Grid throwing script error

rishi raj tripathi created FLEX-33475:
-----------------------------------------

             Summary: Advanced Data Grid throwing script error
                 Key: FLEX-33475
                 URL: https://issues.apache.org/jira/browse/FLEX-33475
             Project: Apache Flex
          Issue Type: Bug
          Components: Advanced Data Grid
    Affects Versions: Adobe Flex SDK 4.6 (Release)
         Environment: Windows
            Reporter: rishi raj tripathi


Hello,
We have been using Flash builder 4.6 with SDK  4.6.0 for our development purposes since the last couple of years. While using it, we have observed one issue with the use of Advanced Data Grid containing hierarchical data. Broadly our observation is that if the grid contains a large result set with hierarchical data, then on expanding and collapsing the items repeatedly, the following error is thrown

TypeError: Error #1010: A term is undefined and has no properties.
       at mx.controls::AdvancedDataGridBaseEx/displayToAbsoluteColumnIndex()[E:\dev\4.y\frameworks\projects\advancedgrids\src\mx\controls\AdvancedDataGridBaseEx.as:6534]
       at mx.controls::AdvancedDataGrid/drawCellItem()[E:\dev\4.y\frameworks\projects\advancedgrids\src\mx\controls\AdvancedDataGrid.as:7674]
       at mx.controls::AdvancedDataGrid/http://www.adobe.com/2006/flex/mx/internal::clearHighlight()[E:\dev\4.y\frameworks\projects\advancedgrids\src\mx\controls\AdvancedDataGrid.as:4026]
       at mx.controls.listClasses::AdvancedListBase/mouseMoveHandler()[E:\dev\4.y\frameworks\projects\advancedgrids\src\mx\controls\listClasses\AdvancedListBase.as:9374]

On investigating the case further we have found out that the problem is due to a function called ‘itemRendererToIndices’ in the AdvancedListBase.as file of the SDK. A wrong row index is computed which in turn causes the error. Can you please provide us support for this problem. If so, what is the procedure we need to follow. 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira