You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2020/03/27 13:32:02 UTC
[royale-asjs] branch develop updated: rendererMap is depended on by
other listeners to 'dataProviderChanged'.
This is an automated email from the ASF dual-hosted git repository.
yishayw 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 41b7a66 rendererMap is depended on by other listeners to 'dataProviderChanged'.
41b7a66 is described below
commit 41b7a6663d6d6ae247e5a76953c07b4d8ba1fd22
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Fri Mar 27 16:29:19 2020 +0300
rendererMap is depended on by other listeners to 'dataProviderChanged'.
This is handled by the super method which for some reason isn't called.
---
.../DataItemRendererFactoryForICollectionViewAdvancedDataGridData.as | 1 +
1 file changed, 1 insertion(+)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/DataItemRendererFactoryForICollectionViewAdvancedDataGridData.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/DataItemRendererFactoryForICollectionViewAdvancedDataGridData.as
index 498a638..2d5d587 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/DataItemRendererFactoryForICollectionViewAdvancedDataGridData.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/DataItemRendererFactoryForICollectionViewAdvancedDataGridData.as
@@ -109,6 +109,7 @@ package mx.controls.advancedDataGridClasses
//dataGroup.removeAllItemRenderers();
+ rendererMap = {};
IEventDispatcher(_strand).dispatchEvent(new Event("itemsCreated"));
IEventDispatcher(_strand).dispatchEvent(new Event("layoutNeeded"));
}