Skip to Content
-1
Jun 12, 2019 at 04:59 PM

Unable to bind table with JSON data in SAPUI5 WEBIDE

917 Views Last edit May 21, 2020 at 04:29 PM 2 rev

Hello Team,

I am just trying to populate JSON data in table format but i am unable to bind data.

I don't where i am missing out, Please help me.

Steps followed:

1. Created mock data in json format named as "cil_test_data.json" under Model section (Refer screenshot 1)

2. In manifest, created a model named "JSON" (Refer screenshot 2)

3. Instantiated, set and load the data in View Controller (Refer screenshot 3)

4. Created a table in view.xml, created column & Column ListItems and Bind the table via path in View.xml (Refer screenshot 4)

Attachments

screenshot-1.png (2.3 kB)
screenshot-2.png (10.5 kB)
screenshot-3.png (73.3 kB)
screenshot-4.png (10.4 kB)