Need a special offer?Find out if your project fits.
+

How distinguish context menu values

Closed
Massimo asked on July 29, 2021

Hello,
I have a question for you, can i distinguish on flexmonster.customizeContextMenu event the two cell in the image? I would like no context menu in the headers unfortunately the type of the empty headers is set as "value" as the empty cell in the grid.
(example : https://jsfiddle.net/flexmonster/1rm53nt9/ )
 
Regards,
Massimo

Attachments:
1.JPG

2 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster July 29, 2021

Hello, Massimo,
 
Thank you for contacting us.
 
We suggest using data.hierarchy and data.measure property to distinguish these cells.
Both values are going to be null for mentioned header cells.
 
We updated our example to demonstrate this approach: Customize context menu to create new pivot in the pop-up.
 
Please let us know if it works for you.
Looking forward to your feedback.
 
Regards,
Illia

Public
Massimo July 30, 2021

Hi Illia ,
The answer works for me thaks a lot!
 
Regards, 
Massimo

This question is now closed