We have hardly worked on Spark DataGrid at all. Can you use MX:AdvancedDataGrid instead?
From: Serkan Taş <serkan....@likyateknoloji.com> Reply-To: "users@royale.apache.org" <users@royale.apache.org> Date: Friday, February 28, 2020 at 1:08 PM To: "users@royale.apache.org" <users@royale.apache.org> Subject: Grid does not load data Hi, Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ? <?xml version="1.0" encoding="latin5" ?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C022385780dc54d88ed0108d7bc9262c0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637185209233422795&sdata=h18Qb55IpmpUQ0YlUPzIcwIlg0AswjChNHWpvd29m6o%3D&reserved=0> xmlns:s="library://ns.apache.org/royale/spark" xmlns:mx="library://ns.apache.org/royale/mx" height="600" width="800"> <fx:Script> <![CDATA[ import mx.collections.ArrayCollection; ]]> </fx:Script> <fx:Declarations> <s:ArrayCollection id="employeeArrColl"> <fx:Object first="Anders" last="Öhlund" age="36"/> <fx:Object first="Eileen" last="Oehland" age="25"/> <fx:Object first="Anders" last="Zorn" age="36"/> <fx:Object first="Steve" last="Aaron" age="40"/> <fx:Object first="Toren" last="Ohlin" age="20"/> <fx:Object first="Toren" last="Aaron" age="36"/> <fx:Object first="Torolf" last="Aaron" age="40"/> </s:ArrayCollection> </fx:Declarations> <s:Panel title="Spark Sort and SortField" width="100%" height="100%"> <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%"> <s:columns> <s:ArrayList> <s:GridColumn dataField="first" headerText="First Name"/> <s:GridColumn dataField="last" headerText="Last Name"/> <s:GridColumn dataField="age" headerText="Age"/> </s:ArrayList> </s:columns> </s:DataGrid> </s:Panel> </s:Application>