Skip to Content

Update the content of SAPUI5 table(sap.ui.table.table) to backend using xsodata

Jan 06, 2017 at 07:37 PM


avatar image
Former Member

HI Gurus,

I have a table with 10 columns out of which 8 are editable.I am using xsodata service(based on CV) to bind the ui table.I have a save button by which the changes should be pushed to backend.How should I Update the changed column values to backend?

Can I use update using odata /odata exits in this case?From what I understand the oDataModel.update() function can be used for one record at a time.How can mass change in the table be handled?

What could be the right approach to achieve it via xsjs?



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

1 Answer

Mantri Shekar Jan 07, 2017 at 10:36 AM

Hi Manas Pandey,

You Can use SetInterval function and write the respective AJAX Call of XS Odata in the AJAX Call it will automatically update the records into the table.



Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

HI Mantri Shekar,

Thank you for the reply.

The answer is not clear.Can you please elaborate more.