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 2021/09/18 15:16:24 UTC
[royale-asjs] branch develop updated: Added itemFocusOut in
DataGrid.as and Added fontWeight and color in 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 5e69543 Added itemFocusOut in DataGrid.as and Added fontWeight and color in DataGridColumn.as
5e69543 is described below
commit 5e69543ac09095feae7c7e1752b433d3a871c8d6
Author: pashminakazi <pa...@gmail.com>
AuthorDate: Sat Sep 18 08:16:11 2021 -0700
Added itemFocusOut in DataGrid.as and Added fontWeight and color in DataGridColumn.as
---
.../projects/MXRoyale/src/main/royale/mx/controls/DataGrid.as | 2 +-
.../main/royale/mx/controls/dataGridClasses/DataGridColumn.as | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DataGrid.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DataGrid.as
index fb3786f..99482d9 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DataGrid.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DataGrid.as
@@ -195,7 +195,7 @@ import org.apache.royale.core.ValuesManager;
* @playerversion AIR 1.1
* @productversion Flex 3
*/
-//[Event(name="itemFocusOut", type="mx.events.DataGridEvent")]
+[Event(name="itemFocusOut", type="mx.events.DataGridEvent")]
/**
* Dispatched when a user changes the width of a column, indicating that the
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 1dd40cf..cff0838 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
@@ -82,6 +82,11 @@ import org.apache.royale.html.supportClasses.DataGridColumn;
*/
[Style(name="headerStyleName", type="String", inherit="no")]
+
+
+[Style(name="fontWeight", type="String", inherit="yes")]
+
+
/**
* The number of pixels between the container's left border and its content
* area.
@@ -106,6 +111,10 @@ import org.apache.royale.html.supportClasses.DataGridColumn;
*/
//[Style(name="paddingRight", type="Number", format="Length", inherit="no")]
+
+
+[Style(name="color", type="uint", format="Color", inherit="yes")]
+
/**
* The DataGridColumn class describes a column in a DataGrid control.
* There is one DataGridColumn per displayable column, even if a column