You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/10/25 17:16:04 UTC

[royale-asjs] branch dgchanges updated: dg custom renderer to idatagrid

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

carlosrovira pushed a commit to branch dgchanges
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/dgchanges by this push:
     new 2d3bdc3  dg custom renderer to idatagrid
2d3bdc3 is described below

commit 2d3bdc317fc2b13ffaf4d3a200771096b6b315fd
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sun Oct 25 18:15:57 2020 +0100

    dg custom renderer to idatagrid
---
 .../src/main/royale/itemRenderers/IconDataGridItemRenderer.mxml         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/jewel/TourDeJewel/src/main/royale/itemRenderers/IconDataGridItemRenderer.mxml b/examples/jewel/TourDeJewel/src/main/royale/itemRenderers/IconDataGridItemRenderer.mxml
index b5e6e78..bd44d87 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/itemRenderers/IconDataGridItemRenderer.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/itemRenderers/IconDataGridItemRenderer.mxml
@@ -40,7 +40,7 @@ limitations under the License.
 			{
                 var view:ListView = this.itemRendererOwnerView as ListView;
                 var column:DataGridColumnList = view.host as DataGridColumnList;
-                (column.datagrid.dataProvider as ArrayList).removeItemAt(index);
+                (column.datagrid.model.dataProvider as ArrayList).removeItemAt(index);
             }
 		]]>
     </fx:Script>