cancel
Showing results for 
Search instead for 
Did you mean: 

how to get all the value of a table after clicking on a particular field in sapui5?

0 Kudos

I am working on SAPUI5. I have a table having 4 rows and 4 column. 4th column is a link. If in click on the link then corrosponding table value should come. i.e. all four fields of the table should come. How to do this?

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

For example if you have a button on one of the columns, using press function you can get the row value by:

new sap.ui.commons.Button({    
   text: "Button",
   press: function (e) {
      console.log(e.getSource().getBindingContext().getObject());   
} })
junwu
Active Contributor
0 Kudos

do you have model? all data are there.....do whatever you want....