Skip to Content
0

How to remove dropdown icon in menuButton in SAPUI5

Apr 03 at 06:52 AM

45

avatar image
Former Member

Hi, I am working on sapui5. While creating MenuButton dropdown icon is automatically there. How to remove? please help me.

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

3 Answers

MEGHAL SHAH Apr 03 at 07:49 AM
0

Instead of using MenuButton use Menu (Menu Event ).

Regards,

Meghal Shah

Share
10 |10000 characters needed characters left characters exceeded
Akhilesh Upadhyay Apr 03 at 08:16 AM
0

Hi, if you are using MenuItem you can keep icon property blank, or share your code in jsfiddle etc, would be helpful for quick resolution

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks. But icon property is already blank in menuButton. dropdown is comming by default. Thanks for information about jsfiddle.

0
Drushya S Apr 03 at 10:52 AM
0

share your code

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

<MenuButton text="select themes1" buttonMode="Split" useDefaultActionOnly="true" />

<MenuButton text="select thememe2" buttonMode="Split" useDefaultActionOnly="true" />

0

You done the same way rite ?

<MenuButton text="Calculator" buttonMode="Split" useDefaultActionOnly="true">

<menu>

<Menu itemSelected="onMenuAction">

<items>

<MenuItem text="basic" >

<items>

<MenuItem text="add" />

<MenuItem text="subtract" />

<MenuItem text="multiply" />

</items>

</MenuItem>

</items>

</Menu>

</menu>

</MenuButton>

if again icon is coming that may be cache problem

0