cancel
Showing results for 
Search instead for 
Did you mean: 

method setText of sap.m.Text is not working

Former Member
0 Kudos

Hi Experts,

Need yours expertise. I'm using sap.uxap.ObjectPageLayout control and inside the section aggregation I've used sap.m.Select and sap.m.Text controls. The requirement is the from the selected item need to show the details in Text controls. I've write the code in the event onSelectionChange of sap.m.Select, but setText() method of sap.m.Text is not working, kindly help. Following code for reference.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Redundant! ObjectPageLayout work as Page

Answers (1)

Answers (1)

former_member251534
Participant
0 Kudos

Hi Binay ,

Please check if array has data .

If this is an array try with this code _NoDay.setText(_arrayObject[0].NoDay) , as array show be referenced with row number .

In console check the data for _arrayObject