Skip to Content
author's profile photo Former Member
Former Member

Binding data to table

Hello Experts,


I am a beginner at all ui5 world.

I need to display data from a service in a table on the screen.

I Created an initial view "Main.view.xml" and "Main.controller.js"

I am trying to bind the data and display it in the table on the view.

So far with out any success

i add the code.

Any help will be appreciated


Thank you.

Amir

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jul 20, 2016 at 02:36 PM

    Hi Amir,

    Take a look at the link SAPUI5 Explored

    It may help you

    Regards,

    Srinivasan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 20, 2016 at 03:13 PM

    Do you see any error message in the browser console?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 20, 2016 at 06:06 PM

    Hi,

    Please have a look at this link:

    http://embed.plnkr.co/IF4aHyfyRcds1ZC4r3KM/

    I done this in JS view and without any odata service.

    But you will get some idea on how to pass the model values to the table and binding.

    If there is any issue please reply me back..

    I will try to solve.

    Thanks,

    Deepak.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2016 at 04:42 AM

    hi,

    Can you "console.log(oModel);" and expand oData inside that and post a screenshot here.

    Regards,

    Chandan Kalita

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.