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
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
Hi Massimo,
We are happy to inform you that for the customizeContextMenu
API call an id
property was added for each item in the menu for better identification.
This is available in the 2.8.15 version of Flexmonster: https://www.flexmonster.com/release-notes/
You are welcome to update the component. Here is our updating to the latest version guide for assistance: https://www.flexmonster.com/doc/updating-to-the-latest-version/
Please let us know if you have any questions we can assist you with.
Best regards,
Mykhailo
Hi Massimo,
How are you?
We were wondering if you've received our notification regarding the new Flexmonster version. Is everything working fine on your end?
We would be happy to hear your feedback.
Regards,
Mykhailo
Hello Mykhailo,
I updated the pivot and used "id" property with success.
I also remind you to update the angular ContextMenuItem interface.
Thanks
Best regards
Hi Massimo,
Thank you for your response.
We are glad to inform you that the ContextMenuItem
interface structure is, in fact, updated with the id
property in the latest 2.8.16 version of Flexmonster: https://www.flexmonster.com/release-notes/
Feel free to update the component and please let us know if everything works fine for you.
Kind regards,
Mykhailo
Hello Mykhailo,
It's all good.
Thanks
Best regards
This question is now closed