cancel
Showing results for 
Search instead for 
Did you mean: 

Customize SAPUI5 control

manuelbordallo
Explorer
0 Kudos

Hello people,

I'm looking the best way to customize the MessageBox control but can't figure it in an easy way.

All the changes I would like to perform are related to the visualization of the inner elements. I.e. put the button bar at the top of the dialog instead of the bottom and put the title in the button bar.

Do you know the best way to do it? Should I extend the control and implement the render() function in the way I need or is it possible to achieve it only modifying CSS styles?

Thank you very much in advance.

Manuel Bordallo

[Private Information Removed by Moderator]

Message was edited by: Michael Appleby

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

the best way is to extend the control and make your own control.

Examples for Creating and Extending Controls - User Interface Add-On for SAP NetWeaver - SAP Library

refer above link

Regards

Former Member
0 Kudos

Hi Manuel,

I don't know how you can customize the MessageBox, but what you can do is override the sap.m.Dialog renderer. (looks pretty much the same).

Kind regards,

RW