Controlling width of contect menu

I’ve got a standalone grid, no layout object, that is linked to a div. It displays data as expected. I a menu object and added it as a context menu to the grid. When I right click, the context menu appears but takes up the entire width of the window. I added a layout object to see if that fixed the problem but it didn’t. Any suggestions? thanks, Jim Dixon

Does the problem occur in the samples from menu and grid package ?

Possibly you set some css classes that are applied to all tables or divs on the page and, therefore, affect menu.