Skip to Content
0

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

Apr 13 at 07:10 AM

25

avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jun Wu Apr 13 at 11:30 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Nakul Patel
Apr 13 at 01:27 PM
0

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());   
} })
Share
10 |10000 characters needed characters left characters exceeded