Skip to main content

Power BI

Needs Votes

Include JavaScript API to allow extend context menu to two levels

Vote (2) Share
's profile image

on 13 Nov 2017 16:27:29

Hi,

I can see that you have already included code to "Extend context menu" in the current library. However, we have a scenario where we would like to extend it to show a sub-context menu when a user clicks on the last (extended) menu item in the first level.

Is it possible to some how nest the command "extend: {... visualContextMenu: {" on one of the items to create a second level of context menu which is shown when a user clicks on the last item of the extended context menu in level one?

See the attached image for reference -

Comments (1)
's profile image Profile Picture

Power BI User on 05 Jul 2020 23:04:25

RE: Include JavaScript API to allow extend context menu to two levels

Because I cannot attach an image, I have tried to depict the menu below in text,

Show Data
Include
Exclude
Extend context menu > Show Data
Include
Exclude
Extend context menu