/scripts/ahub.form.attachments.js
0

Status symbol and button in header content

Oct 13, 2016 at 01:53 PM

94

avatar image

Hey,

I wanna show a status symbol in the head of my master list. I have this piece of code:

        <semantic:customHeaderContent>
            <Button id="flushButton" icon="sap-icon://synchronize" press=""/>
            <ObjectStatus id="synchronizedStatus" visible="true" state="Error" icon="sap-icon://alert"/>
        </semantic:customHeaderContent>

But there is only one UI element showed, the button. When I change the order, only the status symbol is shown. How can I establish that both UI elements are shown?

Thanks for your help and best regards,

David

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

3 Answers

A K Oct 14, 2016 at 10:44 AM
0

Hi David- Keep button and label in Vbox.

<semantic:customHeaderContent>
<VBox>
<Button id="flushButton" icon="sap-icon://synchronize" press=""/>
<ObjectStatus id="synchronizedStatus" visible="true" state="Error" icon="sap-icon://alert"/>
</VBox>
</semantic:customHeaderContent>

Regards,

Karthik A

Share
10 |10000 characters needed characters left characters exceeded
Mahesh kumar palavalli Oct 14, 2016 at 10:36 AM
0

Hi,

Please put both of them in a VBox or HBox UI element then it should solve your problem.

Regards,
Mahesh

Share
10 |10000 characters needed characters left characters exceeded
Deepak Anumula Oct 17, 2016 at 12:33 PM
0

Hi David,

As you are trying these to display on the header of the page so you have to "ContentLeft ContentRight ContentMiddle".


Hope it works for you.


Thanks,

Deepak.

Share
10 |10000 characters needed characters left characters exceeded
Skip to Content