cancel
Showing results for 
Search instead for 
Did you mean: 

How to bind data to a smart table from ODATA

virendra_soni2
Participant
0 Kudos

Hi All

I am trying to get column headers and the values into a smart table. In SAP UI5 explored, i was able to find out that the following piece of code is doing all the job:

<smartTable:SmartTable id="LineItemsSmartTable" entitySet="LineItemsSet" smartFilterId="smartFilterBar" tableType="Table" useExportToExcel="true" useVariantManagement="false" useTablePersonalisation="true" header="Line Items" showRowCount="true" persistencyKey="SmartTableAnalytical_Explored" enableAutoBinding="true">


Can you please explain how this code is doing it all? Am i missing something? If yes, please share the code.


Metadata also does not have any entitySet named "LineItemsSet". Please help


Thanks in advance

Virendra

Accepted Solutions (1)

Accepted Solutions (1)

vijay_kumar49
Active Contributor
0 Kudos

please check this code SAPUI5 Explored

Instead of Localresource link, you should give your service url

virendra_soni2
Participant
0 Kudos

Hi Vijay

thank you for help.

one thing I want to ask you ..."How to Bind Data to Value Helper form ODATA ".

plz share any help for this.

thank you

vijay_kumar49
Active Contributor
0 Kudos

This message was moderated.

Answers (0)