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

harbs 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 12d1a76  data field interface
12d1a76 is described below

commit 12d1a76bed85905e327c5ca55ec8b79d1ea5158d
Author: Harbs <[email protected]>
AuthorDate: Sun Dec 19 11:31:45 2021 +0200

    data field interface
---
 .../controls/dataGridClasses/DataGridListData.as   | 23 +++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/dataGridClasses/DataGridListData.as
 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/dataGridClasses/DataGridListData.as
index 7cc4c7f..a286423 100644
--- 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/dataGridClasses/DataGridListData.as
+++ 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/dataGridClasses/DataGridListData.as
@@ -22,6 +22,7 @@ package mx.controls.dataGridClasses
 
 import mx.controls.listClasses.BaseListData;
 import mx.core.IUIComponent;
+import org.apache.royale.core.IHasDataField;
 
 /**
  *  The DataGridListData class defines the data type of the 
<code>listData</code> property that is
@@ -40,7 +41,7 @@ import mx.core.IUIComponent;
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-public class DataGridListData extends BaseListData
+public class DataGridListData extends BaseListData implements IHasDataField
 {
 //     include "../../core/Version.as";
 
@@ -88,17 +89,17 @@ public class DataGridListData extends BaseListData
        //
        
//--------------------------------------------------------------------------
 
-       [Bindable("__NoChangeEvent__")]
+       private var _dataField:String;
 
-    /**
-        *  Name of the field or property in the data provider associated with 
the column. 
-        *  
-        *  @langversion 3.0
-        *  @playerversion Flash 9
-        *  @playerversion AIR 1.1
-        *  @productversion Flex 3
-        */
-       public var dataField:String;
+       public function get dataField():String
+       {
+               return _dataField;
+       }
+
+       public function set dataField(value:String):void
+       {
+               _dataField = value;
+       }
 
 }
 

Reply via email to