cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Can I use Smart Table to display the contents of my CDS Views? I'm using v4 ODATA.

walkerist79
Participant
0 Kudos
1,870

Whenever I try to implement this code on my Fiori app, nothing will be displayed on the screen. I tried to include a columns, column lism item but still not success on displaying the smart table. why is that?

 

xmlns:smartTable="sap.ui.comp.smarttable"

<smartTable:SmartTable
  entitySet="ZTEST_TABLE"
  tableType="ResponsiveTable"
  smartFilterId="smartFilter"
  enableAutoBinding="true"
  header="CDS Views contents">
</smartTable:SmartTable>

 

View Entire Topic
VigneshMP
Explorer
0 Kudos

Smart Table is for OData V2, you can explore the Flexible Programming Model Explorer and try using Table Macros, which does the same purpose in OData V4 sap.fe.macros.Table - API Reference - Demo Kit - SAPUI5 SDK