cancel
Showing results for 
Search instead for 
Did you mean: 

JSONModel How to identify Changes done to Table

former_member466137
Participant
0 Kudos

Hello Experts,

In Odata Model to table binding we can use getPendingChanges() to easily identify changes done to Table. I have 2 drop down columns in table and one app works just fine with that. Basically to reset Changes done; again resetChanges() on OData Model helps to clear unsaved changes.

But for another app i have used JSON model to bind table. Display of table is fine. But am not getting how to handle changes done to Table. In JSON Model i don't see any option to capture changed data. There's attach change, but it's triggering for each change.

Any examples how we can achieve table change with JSON Model?

Am using Responsive Table.

Regards,

Hari

Accepted Solutions (0)

Answers (1)

Answers (1)

venkateswaran_k
Active Contributor

Hi

There are some options to Redo / Undo options available.

Please check this blog post - may help you

https://blogs.sap.com/2014/09/26/sapui5-jsonmodel-undo-redo/

Regards,

Venkat