Govan Govan - 1 month ago 22
Java Question

Vaadin 8.1 generating description tooltip for Tree items

Is there a way to add different tool tip for items in Vaadin 8.1 Tree?
Vaadin is usually using description as tooltip. Usually Vaadin is using description as tool-tip. But I can not find description related to item. Tree component has a description but no description for each item. Any idea?

Answer Source

tree.setItemDescriptionGenerator was removed in Vaadin 8, there was an issue for it github.com/vaadin/framework/issues/9803 and it was delivered with this commit: https://github.com/vaadin/framework/commit/5ef925daa91b1253f170f244e2a992f4f92979e1