cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Model data from Smart Table

former_member190063
Participant
0 Kudos

Hi,

I have a smart Filter and Smart Table combination in my application. The search results of Smart Filter will be bounded to smart table. For some validation, I need to get Smart Table data. This smart table is bounded to odata entity set. I tried smarttableId.getModel().getData(). But it is not working.I can't find the model data inside the table model. Please suggest.

Regards

Karthik S

Accepted Solutions (0)

Answers (1)

Answers (1)

Joseph_BERTHE
Active Contributor
0 Kudos

Hello,

Please look at the both events :

From the documentation : https://sapui5.netweaver.ondemand.com/sdk/#/api/sap.ui.comp.smarttable.SmartTable

regards,

Joseph

former_member190063
Participant
0 Kudos

Thanks Joseph. Will these event contains the model data of the Smart Table?

Regards

Karthik S

Joseph_BERTHE
Active Contributor
0 Kudos

Yes of course, but becarefull, it is an OData model, it is not like a JSON model. The manipulation is quite different.

By the way, what kind of manipulation do you want to do on the model ?

Regards,

Joseph