PDA

View Full Version : Minor context menu issues



da_sweetp
21 May 2009, 9:10 AM
I've gotten my grid working and context menu for right-clicking rows. Only a couple of minor issues I noticed and wonder if there are cookbook solutions for.

First, my grid is at the bottom of my page. If I right click the bottom-most row, the menu outline is properly shifted upward so that the whole menu outline will appear on the screen. However, the menu items themselves are not shifted, so I get a menu with blank space at the top, and then the first item can be like 1 and a half slots down. Looks very strange.

Second, I notice if I click outside my grid panel the menu remains on the screen. I can probably figure this one out by learning how to handle the mouse events, but any help appreciated.

Animal
21 May 2009, 11:04 AM
How are you doing this? What browser? Because it works fine on FF for me:

http://i131.photobucket.com/albums/p286/TimeTrialAnimal/ctxmenu.jpg