The source for reference : source code <https://github.com/likyateknoloji/pinaraui-royale/blob/master/src/com/likya/pinara/comps/jobdetail/JobListWithDetails.mxml>

14.03.2020 08:53 tarihinde Serkan Taş yazdı:
Actually I made the changes in test code but did not make so much difference. It decreased around 1 secs.

For the real application things are  a bit different.

It is declared in the parent component of the grid component :

            [Bindable]
            public var jobListXmlCollection:XMLListCollection = new XMLListCollection();


and assigned value in the parent component in one place :

in the function below, which is the result of rest call:

protected function xmlService_resultHandler(event:ResultEvent):void

jobListXmlCollection.source = jobListXml.children();


I moved the initialization to the line before the assignment


deceleration change to
            [Bindable]
            public var jobListXmlCollection:XMLListCollection

and assignment ;

jobListXmlCollection = new XMLListCollection()
                jobListXmlCollection.source = jobListXml.children();


but nothing changed in terms of consumed time.

Serkan

14.03.2020 07:21 tarihinde Alex Harui yazdı:

Is this example before or after the suggested optimization for initializing the XMLListCollection?

-Alex

*From: *Serkan Taş <serkan....@likyateknoloji.com>
*Reply-To: *"users@royale.apache.org" <users@royale.apache.org>
*Date: *Friday, March 13, 2020 at 3:11 PM
*To: *"users@royale.apache.org" <users@royale.apache.org>
*Subject: *Re: Single call for data grid

I will check listData issue.

For the video, you can see that the duration is very long. There is a timestamp top right that you can check.

What is your opinion ?

13.03.2020 21:11 tarihinde Alex Harui yazdı:

    I suspect that one or more of your custom item renderers is not
    yet emulating the listData property.  Comment them all out, and
    comment them back in until you find the one(s).

    -Alex

    *From: *Serkan Taş <serkan....@likyateknoloji.com>
    <mailto:serkan....@likyateknoloji.com>
    *Reply-To: *"users@royale.apache.org"
    <mailto:users@royale.apache.org> <users@royale.apache.org>
    <mailto:users@royale.apache.org>
    *Date: *Friday, March 13, 2020 at 12:14 AM
    *To: *"users@royale.apache.org" <mailto:users@royale.apache.org>
    <users@royale.apache.org> <mailto:users@royale.apache.org>
    *Subject: *Single call for data grid


    Alex, here is the screen capture of the loading data grid and the
    exception

    https://drive.google.com/open?id=10uAGEa75pBqSqUXLCAyvZsHPc05R7pFt
    
<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D10uAGEa75pBqSqUXLCAyvZsHPc05R7pFt&data=02%7C01%7Caharui%40adobe.com%7Ca5161e7ff59d44fbc13808d7c79b88be%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637197343143640778&sdata=oybKxJEko%2FdXc3j0a8IWBBcIiP5hXrtyvFET1lGrf%2BI%3D&reserved=0>

    Thanks,
    Serkan







Reply via email to