I got tooltips working on menu items exploiting ListGrid.setHoverCustomizer() (since Menu extends ListGrid, menu items can be actually considered as grid records).
Now the problem is that listgrids don't show hover text for disabled rows, hence I loose tooltips on disabled menu items.
So I could add a mousemove handler to the menu, but - in order to show a proper tooltip for the hovering item - I should somewhat detect which listgrid record corresponds to the mouse position: is it possible?
An alternative would be using a custom style to render menu items as disabled without actually disabling them, but I don't know how to prevent user clicks on them.
I'm using SmartGWT 4.0.
Now the problem is that listgrids don't show hover text for disabled rows, hence I loose tooltips on disabled menu items.
So I could add a mousemove handler to the menu, but - in order to show a proper tooltip for the hovering item - I should somewhat detect which listgrid record corresponds to the mouse position: is it possible?
An alternative would be using a custom style to render menu items as disabled without actually disabling them, but I don't know how to prevent user clicks on them.
I'm using SmartGWT 4.0.
Comment