cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to make the Object Page Dynamic Header Content Closed by default?

Jayakrishnan
Active Participant
0 Kudos
1,376

Hi All,

I am working on Custom SAPUI5 Application Development using ObjectPageLayout as a Detail Page.

In my Object Page, i am displaying Simple Form inside the Dynamic Header Title using snapped and expanded content aggregations.Below I have 4 tabs as a sections. Please refer the below screen.

But i do not want that header content need to expanded mode by default when i navigate from my master page. If user want to see the content, he can use the expand option. But i do not have a control on the expand/collapse here and do not have an event handler too for Pin control.

How it Looks by default:

How do I want by default:

Please help me to sort it out.

Than you,

Regards,

Jayakrishnan.

Accepted Solutions (0)

Answers (1)

Answers (1)

lfrey91
Participant

this.getView().byId('IdFromObjPage').setHeaderContentPinnable(false);
here the Docu:

https://sapui5.hana.ondemand.com/sdk/#/topic/6e340c119ddd4c778b315f65a0432420