cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 sap.ui.table.Table: Modify row in Controller

0 Kudos

Hi everybody,

I would like to modify the model in the controller. js by using

var oSelectedIndex = oTable.getSelectedIndex();
var row = oTable.getRows()[oSelectedIndex];

I do not know how to preceed?

How can I update the model for the selected row?

Many thanks

Regards

Mario

View Entire Topic
0 Kudos

Hi Mahesh,

thanks for your reply. The good news: I do not have a syntax error.

But my table get's not update. Do I have to call some kind of "refresh"-method?

Best Regards

Mario

0 Kudos

sorry; misstake > type

maheshpalavalli
Active Contributor
0 Kudos

If you call set property it will immediately update the value to the model and the all the controls which have binded to that property