How to bind data to a smart table from ODATA
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