Skip to Content

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

How to bind data from backend to Smart Table ?

Hi,

I am using a Smart table and i need to bind data to it.

Following is the code in controller.js :

var fittingTable = this.getView().byId("fittingTable");

fittingTable.bindElement("/Manage_QuarterSet('"+qtrid+"')?$expand=fiittingSet");

Following is the code from view.xml:

<smartTable:SmartTable id="fittingTable" entitySet="LineItemsSet" smartFilterId="smartFilterBar" tableType="Table" useExportToExcel="true" header="Items"

                          useVariantManagement="false" useTablePersonalisation="true"

                          showRowCount="true" persistencyKey="SmartTableAnalytical_Explored"

                          enableAutoBinding="true">

                       

                   </smartTable:SmartTable>

Helpful Answer

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