This is an automated email from the ASF dual-hosted git repository.

pushminakazi pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 6a7abf7  Update AdvancedDataGridSingleSelectionMouseController.as
6a7abf7 is described below

commit 6a7abf73ca3d71f14e4bacb11ee7bf4d6723d3e7
Author: pashminakazi <[email protected]>
AuthorDate: Mon Sep 2 16:19:28 2019 +0500

    Update AdvancedDataGridSingleSelectionMouseController.as
---
 .../AdvancedDataGridSingleSelectionMouseController.as          | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/AdvancedDataGridSingleSelectionMouseController.as
 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/AdvancedDataGridSingleSelectionMouseController.as
index ef51228..3c2f719 100644
--- 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/AdvancedDataGridSingleSelectionMouseController.as
+++ 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/AdvancedDataGridSingleSelectionMouseController.as
@@ -83,14 +83,14 @@ package mx.controls.advancedDataGridClasses
                                adg.openNode(node);
                        }
             }
-            
-            var newEvent:ItemClickEvent = new 
ItemClickEvent(ItemClickEvent.ITEM_CLICK);
-            newEvent.index = event.index;
-            IEventDispatcher(_strand).dispatchEvent(newEvent);
-            
+              
                        // reset the selection
             ((_strand as AdvancedDataGridColumnList).model as 
ISelectionModel).selectedItem = node;
             IEventDispatcher(_strand).dispatchEvent(new Event("change"));
+           
+           var newEvent:ItemClickEvent = new 
ItemClickEvent(ItemClickEvent.ITEM_CLICK);
+            newEvent.index = event.index;
+            IEventDispatcher(_strand).dispatchEvent(newEvent);
                }
        }
 }

Reply via email to