Skip to Content
avatar image
Former Member

Sap ui5 : Change buttons to disable

Hello experts,

I am new to sapui5.

I am working with master-detail template

I need to change the buttons in the Detail.view.xml to disable

according to data from list.

Any suggestion will be appreciated.

Thank you.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 31, 2016 at 06:58 AM

    Hi,

    based on the condition, u can get the button by its ID and set the property enable by using method setEnabled(false) to make it disabled..

    Thanks,

    Add comment
    10|10000 characters needed characters exceeded