Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed 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.

  • Former Member Mantri Shekar

    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

  • 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 = {};

  • Get RSS Feed

0 Answers