Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

how to pass extra parameter customizeContextmenu method

Answered
Bilguun asked on September 21, 2020

Hello flex team i need pass extra parameter for context menu how do i achieve that?

var pivot = new Flexmonster({
container: "pivot-container",
componentFolder: "https://cdn.flexmonster.com/",
width: "100%",
height: 430,
customeContextMenu: function(items,data,viewtype, uniqueIdentyfier),
toolbar: true,
report: {
dataSource: {
filename: "data/data.csv"
}
}
});

something like that is it possible?

1 answer

Public
Milena Pechura Milena Pechura Flexmonster September 24, 2020

Hello, Bilguun,
 
Thank you for writing to us.
 
If it is needed to access any external information inside customizeContextMenu, we recommend defining this information in your app. After this, you can check this info when defining the handler for each item. For more details on the handler please see: https://www.flexmonster.com/api/customizecontextmenu/.
 
Hope it helps.
 
Best regards,
Milena

Please login or Register to Submit Answer