Skip to Content
0

How to get Model data from Smart Table

Dec 20, 2017 at 02:30 PM

115

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Joseph BERTHE Dec 21, 2017 at 08:54 AM
0

Hello,

Please look at the both events :

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

regards,

Joseph

Show 2 Share
10 |10000 characters needed characters left characters exceeded

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

Regards

Karthik S

0

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

0