Hello, I'm using smartgwt2.0 and i want to get some tool tip for each of my tree node, but it doesn't seem to work, here is the code i'm using :
TreeGrid tg = new TreeGrid(); tg.setHoverMoveWithMouse(true); tg.setCanHover(true); tg.setShowHover(true); tg.setHoverOpacity(75); tg.addRowHoverHandler(new RowHoverHandler() { @Override public void onRowHover(RowHoverEvent event) { ListGridRecord lgr = event.getRecord(); if(lgr instanceof TreeNode) { TreeNode hoveredTreeNode = (TreeNode)lgr; tg.setPrompt("the name is: <BR>" + hoveredTreeNode.getName()); } } }); the hover message gets displayed, but its not exactly what i had written in the code, I always have a "+ followed by the name of the node" , but i want to have the comment which i wrote, is their any work around for this ? I also tried to use a hoverCustomiser but this is not available in the version 2.0, can any one plase suggest me a work around with smartgwt2.0 ? Thanks in Advance -mTweet -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.