Dear visitor, despite all the challenges, our team continues operating at full speed.

We are ready to help with any questions you may have. Please fill out this quick form and we'll get back to you.

Fill the form
Get Free Trial

Customize Context Menu

Answered
Massimo asked 6 days ago

Hello,
I want to remove the option “Conditional Formatting” from the customize context menu.
In your example

flexmonster.customizeContextMenu(function(items, data, viewType) {
	items = items.filter(function (item){
				return item.label !== "Aggregation"
			})
	return items;
});

The problem is that the label is language dependent, depending on json files that can be modified.
Is there any way to have “id” property into the item?
 
Regards

1 answer

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster 6 days ago

Hi Massimo
 
Thank you for posting your question.
 
After some discussion with our team, we’ve agreed that providing an ID property for each element of the context menu array would be reasonable. We are going to introduce this with our upcoming release ETA Sep 7th.
 
Please let us know if there is anything else we can help you with in the meantime.
 
Best regards,
Mykhailo

Please login or Register to Submit Answer