Quantcast
Viewing all articles
Browse latest Browse all 4841

Re: UI5 Table refresh

Hi Ria,

 

Actually I am using following code to refresh the table:

 

//oTable declaration

var oTableCalc = new sap.ui.table.Table("maintable",{

  id : 'CalcTable',

  firstVisibleRow: 0,

  selectionMode: sap.ui.table.SelectionMode.Single,

  fixedColumnCount: 1,

  editable:false

  });

 

and in the ajax call I am doing

 

var oCore = sap.ui.getCore();

var reftable = oCore.byId("maintable");

 

which is just refreshing the table but when I select the row it displays the old value.

 

So I used "location.reload();" which is a wrong method since it refresh the whole page.

Due to this when I change the date and insert the value, my page get refreshed and I am getting the new content.

 

Please suggest me what I need to do for refreshing only the table and also when I select the row I need the new content to be displayed in the text field.

 

 

Regards

G.Partheeban


Viewing all articles
Browse latest Browse all 4841

Trending Articles