[ https://issues.apache.org/jira/browse/FLEX-33475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13651899#comment-13651899 ]
Erik de Bruin commented on FLEX-33475: -------------------------------------- Hi, As you have obviously spent some time investigating and debugging this issue. Do you have a suggested solution? If so, would you mind creating a patch? For info on how to do this, this is a good starting place: http://flex.apache.org/community-getinvolved.html Thank you! > 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 > Labels: patch > > 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