Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAP.M.TAB:LE in sapui5

Hi Experts,

I am trying to make one table in SAPUI5 for mobile apps. My screen will look like below:

After pressing button it will display table. I am writng XML view code. Table code is like that:


<Table id="myTable" items="{/ProductSet}">

                                  <columns>

                                          <Column>

                                                  <Label text="Product ID"></Label>

                                          </Column>

                                          <Column>

                                                  <Label text="Product Name"></Label>

                                          </Column>

                                  </columns>

                                  <items>

                                          <ColumnListItem>

                                                  <cells>

                                                          <Text text="{ProductID}"></Text>

                                                          <Text text="{Name}"></Text>

                                                  </cells>

                                          </ColumnListItem>

                                  </items>

                          </Table>

But it is showing below error.

Uncaught Error: failed to load 'sap.m.Table' from resources/sap/m/Table.js: 404 - Resource could not be found!


Kindly give solution.


Any possible solution would be accepted gratefully.


Regards,

Arindam Samanta

Not what you were looking for? View more on this topic or Ask a question