Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

Re: Error when using MII with SAPUI5

$
0
0

Please post a screenshot of your xml structure. Make sure your xml has a root node under which you have all the child elements which will form the rows of your sap ui5 table, only then bindRows() will work.

I created an xml for the data that you have used in your example code and the structure looks like this:

<rootnode>

    <element>

        <Applications>WVL BOD 9212</Applications>

        <PercentComplete>75</PercentComplete>

        <Date_Due>6/16/2014</Date_Due>

        <Testing_Due>6/23/2014</Testing_Due>

    </element>

    <element>

        <Applications>WVL BOD 9211</Applications>

        <PercentComplete>75</PercentComplete>

        <Date_Due>6/16/2014</Date_Due>

        <Testing_Due>6/24/2014</Testing_Due>

    </element>

...

</rootnode>

 

The xml that you are binding to the model should have a root node similar to the rootnode tag in the above case.

 

Do let me know if it still doesn't work for you.

 

Regards,

Ria


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>