cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table is not getting updated when model is changed?

former_member357192
Participant
0 Likes
300

I have a table:

Accepted Solutions (0)

Answers (4)

Answers (4)

agentry_src
Active Contributor
0 Likes

Recommended reading to get the most out of your SCN experience:

http://scn.sap.com/community/getting-started/blog/2010/05/12/asking-good-questions-in-the-forums-to-...

also a lot of good tips are here:

http://scn.sap.com/blogs/juergenl/2013/09/08/dear-newbie--welcome-in-scn-mm-space

Regards, Mike (Moderator)

SAP Technology RIG

former_member182372
Active Contributor
0 Likes

show the table binding

former_member357192
Participant
0 Likes

yes i have tried.

I have also trid

model.submitchanges and model.update

but table is not getting updayted

vijay_kumar49
Active Contributor
0 Likes

Could you please try

  1. this.getView().getModel().submitChanges( 
  2.   success :  function() { 
  3.   this.getView().getModel().refresh(); 
  4.   alert("Update successful"); 
  5.   }, 
  6.   error :  function() { 
  7.   alert("Update failed"); 
  8.   } 
  9. ); 


let me know what message is printing

former_member357192
Participant
0 Likes

Updated Successfully.

But problem still persist.

vijay_kumar49
Active Contributor
0 Likes

Data is not updated in the Table?

former_member357192
Participant
0 Likes

yes

vijay_kumar49
Active Contributor
0 Likes

Did you model.refresh(true);mode?