Skip to Content
0

Sap ui5 : Change buttons to disable

Oct 30, 2016 at 03:44 PM

63

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

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

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,

Share
10 |10000 characters needed characters left characters exceeded