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 2020/09/21 16:02:55 UTC

[royale-asjs] branch develop updated: Update DataGridColumn.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 2bb4cc7  Update DataGridColumn.as
2bb4cc7 is described below

commit 2bb4cc785d38de93aab4588c02fb0a5753bc1123
Author: pashminakazi <42...@users.noreply.github.com>
AuthorDate: Mon Sep 21 21:02:47 2020 +0500

    Update DataGridColumn.as
---
 .../mx/controls/dataGridClasses/DataGridColumn.as  | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/dataGridClasses/DataGridColumn.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/dataGridClasses/DataGridColumn.as
index bcf136f..ce162e6 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/dataGridClasses/DataGridColumn.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/dataGridClasses/DataGridColumn.as
@@ -914,6 +914,42 @@ public class DataGridColumn extends org.apache.royale.html.supportClasses.DataGr
 	  _headerRenderer = value;
 	  trace("DataGridColumn.headerRenderer is not implemented");
 	}
+	
+	        //----------------------------------
+		//  editable
+		//----------------------------------
+
+		private var _editable:Boolean = true;
+
+		[Inspectable(category="General")]
+
+		/**
+		 *  A flag that indicates whether the items in the column are editable.
+		 *  If <code>true</code>, and the DataGrid's <code>editable</code>
+		 *  property is also <code>true</code>, the items in a column are 
+		 *  editable and can be individually edited
+		 *  by clicking on an item or by navigating to the item by using the 
+		 *  Tab and Arrow keys.
+		 *
+		 *  @default true
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function get editable():Boolean
+		{
+			return _editable;
+		}
+
+		/**
+		 *  @private
+		 */
+		public function set editable(value:Boolean):void
+		{
+			_editable = value;
+		}
 }
 
 }