Lazy loding Tooltips (setDescription) ?

Hello,

we are showing items in a grid and wish to also display various tooltips on the components in the grid.
With setDescription(…) this works fine.

But…

As the tooltip generation is very expensive on serverside, we would like to lazy load (or better generate) the tooltips only when required.

Is there a way to do this ? (A event we can listen on ?)

André

I can’t come up with a way to do it with core Vaadin. I guess you have to use GWT and extend the component’s client side. You could make it query the server side when the tooltip should open.

Ok,

thanks.

How about adding a separate popupview next to the component and add the description in it? Popupview is lazy and it could be shown as info icon on screen.