Skip to Content

Context Menu Items not getting manipulated on Netweaver portal

Dec 21, 2016 at 12:50 PM


avatar image
Former Member

Hello Everyone,

I have a requirement where i want to hide the Items of the context menu.I found a few ways to do that both via CSS and also via scripting. Following are the links i referred

In the CSS technique I wrote the following code

.contextMenu #CONTEXT_MENU_drilldownBy {
	display: none  !important;

It's didnt work. ".contextMenu" is the css class i assigned to the context menu component.

I checked on stackover flow to see if i was making mistake in css while using ID and

Class together.But the suggestions there didint work.

In Scripting Technique

I added following script on start of application

CONTEXT_MENU.setItemVisible(ContextMenuItemId.DRILL_DOWN_BY_DIMENSION, false);

It is working in local mode but when executed via portal it's not working.

Kindly help me solve the issue.

Thanks & Regards,

Chinmay Swami

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

0 Answers