You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/05/24 03:20:19 UTC
[jira] [Updated] (FLEX-17191) 'mOver.target.listData.rowIndex'
does not consistently return rowIndex
[ https://issues.apache.org/jira/browse/FLEX-17191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean updated FLEX-17191:
---------------------------------
Labels: easyfix easytest (was: )
> 'mOver.target.listData.rowIndex' does not consistently return rowIndex
> -------------------------------------------------------------------------
>
> Key: FLEX-17191
> URL: https://issues.apache.org/jira/browse/FLEX-17191
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: DataGrid
> Affects Versions: Adobe Flex SDK Previous
> Environment: Affected OS(s): Windows
> Affected OS(s): Windows XP
> Browser: Internet Explorer 7.x
> Language Found: English
> Reporter: Adobe JIRA
> Labels: easyfix, easytest
>
> Hello,
> I have been designiong a custom dataGird which allows user to select multiple row without shift key. that meas user just need to right click the mouse and drag it over the grid. For this I have override mouseOverHandler Function in my dataGrid.
> override protected function mouseOverHandler(event:MouseEvent):void{
> var selectedArr:Array = new Array();
> if(isMouseDown){
> try{
> selectedArr = dg.selectedIndices;
> selectedArr.push(mOver.target.listData.rowIndex);
> dg.selectedIndices = selectedArr;
> }catch(e:Error){
> }
> }
> }
> Issue wich I have been facing is 'mOver.target.listData.rowIndex' does not consistently return rowIndex ,whenever I move mouse with fast pace
> 1 ) it throws an error " Property listData not found on mx.controls.listClasses.ListBaseContentHolder
> and there is no default value" .
> 2) Some dataGrid does not dispatch mouseOver as a result mouseUpHandler does get called.
> I hope you are convinced with observation.Please let me know you have any workAound for the above issue.
> Regards,
> Dharmendra
> Product: flex
> From handle : dam.C
> E-mail: chauhan.icse@gmail.com
> Date: 01/13/09 10:37
> Version: 2
> Book: langref
> File: mx/controls/DataGrid.html
> Document: http://livedocs.adobe.com/flex/2/langref/mx/controls/DataGrid.html
> Admin Tool: http://www.adobe.com/cfusion/livedocs/admin/index.cfm?approveid=91798&getlist=1
--
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