I am trying to create a context menu associated with a grid object on my page. Unfortunately, the context menu always seems to render in the bottom left corner of my grid, distant from the actual location of the click.
Below is some paired-down source that I have been working with. I have tried at least a dozen permutations and reorderings of the renderAsContextMenu() and enableContextMenu() calls, among others, but nothing seems to resolve this positioning issue.
Any help you can offer would be much appreciated.
…
…