You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pu...@apache.org on 2019/03/20 06:36:59 UTC

[royale-asjs] branch develop updated: Update AdvancedDataGrid.as

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 8369ded  Update AdvancedDataGrid.as
8369ded is described below

commit 8369ded2f7e5e797d03d09a18de5ff5601742c7d
Author: pashminakazi <42...@users.noreply.github.com>
AuthorDate: Wed Mar 20 11:36:54 2019 +0500

    Update AdvancedDataGrid.as
---
 .../main/royale/mx/controls/AdvancedDataGrid.as    | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/AdvancedDataGrid.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/AdvancedDataGrid.as
index da65a24..0271108 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/AdvancedDataGrid.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/AdvancedDataGrid.as
@@ -111,7 +111,7 @@ import org.apache.royale.core.IBead;
 import org.apache.royale.core.IDataGrid;
 import org.apache.royale.core.IDataGridModel;
 import org.apache.royale.core.IDataGridPresentationModel;
-import org.apache.royale.core.ValuesManager;
+import org.apache.royale.core.ValuesManager;
 import org.apache.royale.events.Event;
 
 use namespace mx_internal;
@@ -849,14 +849,14 @@ public class AdvancedDataGrid extends AdvancedListBase implements IDataGrid
      *  
      *  @private
      */
-  //  private var selectedCellsChanged:Boolean = false;
+   private var selectedCellsChanged:Boolean = false;
 
     /**
      *  Temporary storage for selectedCells
      *  
      *  @private
      */
-  //  private var _temporary_selectedCells:Array = null;
+    private var _temporary_selectedCells:Array = null;
 
     /**
      * Storage of sortInfos, used for the multi column sorting UI.
@@ -1345,9 +1345,9 @@ public class AdvancedDataGrid extends AdvancedListBase implements IDataGrid
     /**
      *  @private
      */
-    /* protected var _selectedCells:Array = [];
+    protected var _selectedCells:Array = [];
 
-    [Inspectable(category="Data", arrayType="Object")] */
+    [Inspectable(category="Data", arrayType="Object")]
     /**
      *  Contains an Array of cell locations as row and column indices.
      *  Changing the value of the <code>selectionMode</code> property 
@@ -1428,28 +1428,28 @@ public class AdvancedDataGrid extends AdvancedListBase implements IDataGrid
      *  @playerversion AIR 1.1
      *  @productversion Royale 0.9.4
      */
-    /* public function get selectedCells():Array
+    public function get selectedCells():Array
     {
         if (_selectedCells)
             return _selectedCells.slice(); // make a copy
         else
             return null;
-    } */
+    } 
 
     /**
      *  @private
      */
-    /* public function set selectedCells(value:Array):void
+     public function set selectedCells(value:Array):void
     {
         // clear selectedCells
-        clearSelectedCells();
+      //  clearSelectedCells();
         
         _temporary_selectedCells = value;
-		syncCellSelections(value);
+	//syncCellSelections(value);
         selectedCellsChanged = true;
         invalidateProperties();
         invalidateDisplayList();
-    } */
+    } 
 
     //--------------------------------------------------------------------------
     // Flex Builder design view functionality