Dear visitor, despite the COVID-19 outbreak, our team continues operating at full speed.

Also, here is the form where you can apply for a special discount and we will contact you with possible options. Stay safe and continue achieving your business goals.

Fill the form
Get Free Trial
Get Free Trial

Unable to create new context menu items in 2.3.

kumar asked on February 23, 2017

In 2.2 version, I have created context menu items for expand all, collapse all. it used work. after migrating to 2.3 version, the context menu items are not creating. please let me know anything is missing.
Calling below method after setReport(pivot):

function customizeFlexmonsterContextMenu(pivot) {
var expandAllItem = $('<li class="fm-ui"></li>');
expandAllItem.append('<span class="fm-ui" id="#fm-text-display">Expand All</span>');
var collapseAllItem = $('<li class="fm-ui"></li>');
collapseAllItem.append('<span class="fm-ui" id="#fm-text-display">Collapse All</span>'); {
}); {
$('#fm-context-menu ul').append(expandAllItem);
$('#fm-context-menu ul').append(collapseAllItem);


1 answer

Ian Sadovy Flexmonster February 23, 2017

Hello Kumar,
Thank you for the question.
Please take a look at the following approach for 2.3 version –
Does it work for you?

Please login or Register to Submit Answer