Hi Takeshita,

Please open an issue on GitHub with a test case.

I’ll work on it tomorrow.

Thanks,
Yishay

From: Takeshita Shoichiro<mailto:[email protected]>
Sent: Wednesday, November 27, 2019 2:22 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: AdvancedDataGrid Emulation

Alex, thanks for help.

groupedColumns is one of the important components for our Flex application.  I 
want to make it work for proposal presentation.

2019年11月27日(水) 0:21 Alex Harui <[email protected]<mailto:[email protected]>>:
I don’t think anyone has tried groupedColumns yet.  I can look into it after we 
help Alina’s team finish their goal unless someone else beats me to it.  They 
are using ADG heavily, but I haven’t seen groupedColumns, just regular columns.

-Alex

From: Takeshita Shoichiro <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, November 26, 2019 at 5:33 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: AdvancedDataGrid Emulation


Hi,



Is AdvancedDataGrid emulation supported by Royale? The compiled result of the 
following generates a frame but no contents.



Do I need to do change other things other than name spaces?



Thanks for your advice.



S. Takeshita

============================================================================================



<?xml version="1.0" encoding="utf-8"?>

<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%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937698139&sdata=b9a5V%2FPlWPui5mqTQ%2FTyDI9uUWa7TQ9eqfz8g%2B5qmXM%3D&reserved=0>"

               
xmlns:mx="library://ns.apache.org/royale/mx<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937708134&sdata=EsGwSYWQgKgaYjEl9AoSJRqUi8eqnES3mE%2FMqYRfc9g%3D&reserved=0>"

               
xmlns:s="library://ns.apache.org/royale/spark<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark&data=02%7C01%7Caharui%40adobe.com%7Ce094ca64efd54cc8129608d772752ebc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637103719937718132&sdata=wKRGheo3JMJK6V8cT8uX602Ddxgr9cBcGtMvefxj8P8%3D&reserved=0>"

               width="550" height="340">


    <fx:Script>

        <![CDATA[

            import mx.collections.ArrayCollection;



            [Bindable]

            private var dpFlat:ArrayCollection = new ArrayCollection([

                {Region:"Southwest", Territory:"Arizona", 
Territory_Rep:"Barbara Jennings", Actual:38865, Estimate:40000},

                {Region:"Southwest", Territory:"Arizona", Territory_Rep:"Dana 
Binn", Actual:29885, Estimate:30000},

                {Region:"Southwest", Territory:"Central California", 
Territory_Rep:"Joe Smith", Actual:29134, Estimate:30000},

                {Region:"Southwest", Territory:"Nevada", Territory_Rep:"Bethany 
Pittman", Actual:52888, Estimate:45000},

                {Region:"Southwest", Territory:"Northern California", 
Territory_Rep:"Lauren Ipsum", Actual:38805, Estimate:40000},

                {Region:"Southwest", Territory:"Northern California", 
Territory_Rep:"T.R. Smith", Actual:55498, Estimate:40000},

                {Region:"Southwest", Territory:"Southern California", 
Territory_Rep:"Alice Treu", Actual:44985, Estimate:45000},

                {Region:"Southwest", Territory:"Southern California", 
Territory_Rep:"Jane Grove", Actual:44913, Estimate:45000}

            ]);

        ]]>

    </fx:Script>



    <mx:AdvancedDataGrid id="myADG"

                         dataProvider="{dpFlat}"

                         width="100%" height="100%">

        <mx:groupedColumns>

            <mx:AdvancedDataGridColumn dataField="Region"/>

            <mx:AdvancedDataGridColumn dataField="Territory"/>

            <mx:AdvancedDataGridColumn dataField="Territory_Rep"

                                       headerText="Territory Rep"/>

            <mx:AdvancedDataGridColumnGroup headerText="Revenues">

                <mx:AdvancedDataGridColumn dataField="Actual"/>

                <mx:AdvancedDataGridColumn dataField="Estimate"/>

            </mx:AdvancedDataGridColumnGroup>

        </mx:groupedColumns>

    </mx:AdvancedDataGrid>

</s:Application>




--
Shoichiro Takeshita
武下 祥一郎
--
Shoichiro Takeshita
武下 祥一郎

Reply via email to