Context menu and mouse click events in panel

I also would like to know this. Whether for a graph or a table I would like to be able to launch another window with custom query parameters based on a mouse click event. I see this older post but do not see a clean solution: How to grab mouse click from graph panel. Any advice would be greatly appreciated!