Skip to Content
0

Need to transfer the data of selected row from TABLE TREE in one view to another view

Jun 28, 2017 at 11:26 AM

37

avatar image

Hi Experts,

I am new to SAP UI5 would appreciate any help here.

I have a requirement where I have to transfer the data from row selected in TABLE TREE in one view to another view.

I am able to set data in TABLE TREE from JSON, but I am struggling to move the selected data from the selected row to the next view.

10 |10000 characters needed characters left characters exceeded

Hi Gaurav,

If u are storing the row data in one variable.Make this variable as a global variable and pass it into the next view.

1

Hi Mantri Shekar,

Thanks for the reply, but actually I have several columns in the row, so that way I will have to create several global variables.

Is there any other way in which this can be done?

Regards,

Gaurav

0

Hi Gaurav,

If you are fetching a table row value it will store in an object.

You need not create multiple variables.

Just create an object like below.

var globObject = {};

0
* Please Login or Register to Answer, Follow or Comment.

0 Answers