cancel
Showing results for 
Search instead for 
Did you mean: 

How to populate sapui5 smart table with data from a CSV file mport?

Former Member
0 Kudos

Hi experts.

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member228602
Contributor
0 Kudos

Hello Sumit,

Smart Table cannot work with any other model other than oData . If you look at fundamental premise of Smart Table is it is closely linked to an entity in your ODataModel . A table which can understand a metadata of your service is Smart Table. When you are reading from CSV there is literally no metadata at all.

Thanks and Regards,

Veera