Skip to Content
avatar image
Former Member

method setText of sap.m.Text is not working

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.

63lag.png (15.0 kB)
uhdvk.png (64.1 kB)
wzkbw.png (36.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 12, 2017 at 09:53 AM

    Redundant! ObjectPageLayout work as Page

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 13, 2017 at 08:28 AM

    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

    Add comment
    10|10000 characters needed characters exceeded