Hi,
Two questions regarding context menus in ListGrids:
- The showContextMenu() description in the Java API says:
Is there a way to show the menu at a given (x,y) position?
I have a field with images in my ListGrid and would like to show the context menu just below those images when a click occurs.
- Ideally, the images would have two states: normal and selected.
I can update the image source and refresh the cell when the context menu is shown, but don't seem to be able to re-update the image when the menu is hidden (tried to override hideContextMenu(), but it is not called).
Is there a good way to perform actions when a menu is hidden?
Thanks,
Dogan
Two questions regarding context menus in ListGrids:
- The showContextMenu() description in the Java API says:
Show this menu as a context menu, that is, immediately adjacent to the current mouse position.
I have a field with images in my ListGrid and would like to show the context menu just below those images when a click occurs.
- Ideally, the images would have two states: normal and selected.
I can update the image source and refresh the cell when the context menu is shown, but don't seem to be able to re-update the image when the menu is hidden (tried to override hideContextMenu(), but it is not called).
Is there a good way to perform actions when a menu is hidden?
Thanks,
Dogan
Comment