Skip to Content
avatar image
Former Member

Context Menu Items not getting manipulated on Netweaver portal

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers