0

I am new to SAPUI5 and so am struggling to use sap.ui.comp.smarttable.SmartTable of sapUI5. I saw various examples but all of them make use of oData service which I don't need to use in my case.

Basically what I need to do is, import CSV file and show its data in smartTable. I am successful in showing the data in a simple table in SAP but unable to figure out how to use smarttable without any oData service in SAPUI5.

I am using XML view for view part.

Please help.

Boghyon Hoffmann
  • 17,103
  • 12
  • 72
  • 170

1 Answers1

0

Not. It is not possible. As mentioned here in documentation,

The SmartTable control creates a table based on OData metadata and the configuration specified. The entitySet attribute must be specified to use the control

Haojie
  • 5,665
  • 1
  • 15
  • 14
  • Do you know how to bind columns to xml view dynamically? Please share the code. –  Mar 09 '17 at 11:02
  • You can check at here http://stackoverflow.com/questions/21731176/dynamic-binding-of-table-column-and-rows – Haojie Mar 09 '17 at 14:51
  • I asked for smarttable and the link you posted doesn't use smarttable –  Mar 10 '17 at 05:46