You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pi...@apache.org on 2019/09/30 16:14:37 UTC
[royale-asjs] branch develop updated: VirtualListView doesn't need
to dispatch layoutNedded
This is an automated email from the ASF dual-hosted git repository.
piotrz 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 73cb53a VirtualListView doesn't need to dispatch layoutNedded
73cb53a is described below
commit 73cb53abde37f7ddacbd0c4a6473e5e57b3aa1cf
Author: Piotr Zarzycki <pi...@gmail.com>
AuthorDate: Mon Sep 30 18:13:43 2019 +0200
VirtualListView doesn't need to dispatch layoutNedded
- DataItemRendererFactoryForICollectionViewAdvancedDataGridData layoutNeeded to host and it ends up with proper rendering of ADG
- Code formatting in AdvancedDataGridColumnList (reference #477 )
---
.../apache/royale/html/beads/VirtualListView.as | 6 ++-
.../AdvancedDataGridColumnList.as | 56 +++++++++++-----------
2 files changed, 33 insertions(+), 29 deletions(-)
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/VirtualListView.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/VirtualListView.as
index 6b4a259..b37f3e3 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/VirtualListView.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/VirtualListView.as
@@ -108,6 +108,10 @@ package org.apache.royale.html.beads
ir.hovered = true;
lastRollOverIndex = (listModel as IRollOverModel).rollOverIndex;
}
-
+
+ override protected function dataProviderChangeHandler(event:Event):void
+ {
+
+ }
}
}
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/AdvancedDataGridColumnList.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/AdvancedDataGridColumnList.as
index b02b756..3d65bf1 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/AdvancedDataGridColumnList.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/AdvancedDataGridColumnList.as
@@ -20,35 +20,35 @@
package mx.controls.advancedDataGridClasses
{
-/* import flash.display.DisplayObject;
-import flash.events.Event;
- */
-import mx.controls.AdvancedDataGrid;
-
-import org.apache.royale.html.supportClasses.DataGridColumnList;
-
-
-/**
- * The AdvancedDataGridColumnList class represnts a column in an AdvancedDataGrid control.
- * There is one AdvancedDataGridColumnList per displayable column, even if a column
- * is hidden or off-screen.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Royale 0.9.3
- * @royalesuppresspublicvarwarning
- */
-public class AdvancedDataGridColumnList extends DataGridColumnList
-{
- public function AdvancedDataGridColumnList()
+ /* import flash.display.DisplayObject;
+ import flash.events.Event;
+ */
+ import mx.controls.AdvancedDataGrid;
+
+ import org.apache.royale.html.supportClasses.DataGridColumnList;
+
+
+ /**
+ * The AdvancedDataGridColumnList class represnts a column in an AdvancedDataGrid control.
+ * There is one AdvancedDataGridColumnList per displayable column, even if a column
+ * is hidden or off-screen.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Royale 0.9.3
+ * @royalesuppresspublicvarwarning
+ */
+ public class AdvancedDataGridColumnList extends DataGridColumnList
{
- super();
- typeNames += " AdvancedDataGridColumnList";
-
+ public function AdvancedDataGridColumnList()
+ {
+ super();
+ typeNames += " AdvancedDataGridColumnList";
+
+ }
+
+ public var adg:AdvancedDataGrid;
}
-
- public var adg:AdvancedDataGrid;
-}
}