Skip to Content
0
Former Member
Aug 17, 2015 at 10:39 PM

Change sap.m.Table cell value inside an event handler

1382 Views

Hello,

I have a table defined in an XML view

I need to change the value of a cell for the selected row by calling the event function in the controller

Here is my event handler code when I click the checkbox

// in the controller

validateTickets : function(oEvent){

//Get the selected row

var selectedItem = oEvent.getParameters().listItems[0].getBindingContext().getObject();

//change the last cell value for the selected row.

},

thanks

Attachments

Untitled.png (17.3 kB)