Using Grid with Walter Zorn's DHTML Tooltips
I have been testing the grid and other products before I purchase. I have been able to accomplish everything desired so far, however I have one problem I was hoping someone may already have experience with.
I have implemented this product: http://www.walterzorn.com/tooltip/tooltip_e.htm in such a way that it provides a perfect DHTML popup window. It tries to auto-size to the content, and does a very good job. I have used it to display many of my currently working pages. The problem is that when I try to pop an AW grid into the html, it never appears. I have it to the point where if I display the page directly in the browser the grid and it's containing DIV are displayed perfectly. Once I stuff it into the popup, the DIV shows (green background for testing), but no grid.
8.Tooltip content via variable or function call.
You can either use the object variable name with eval(n) (commented)
or the ID and return AW.object(n)(the one active);
just remember to set a size (width & height) for the grid.
What's the difference between using AW.object('Grid001') and just passing the object [ = obj.toString() ] which returns the HTML?
You can also use :
<a href="b.htm" onmouseover="Tip(obj.toString())" onmouseout="">Link 2</a>
and then no need for TooltipTxt() function , seems that wz_tooltip only requires plain html and it's size for embedding .
If you use innerHTML then try = obj.toString() there, but I would use in this case a sized AW.HTML.Div with setContent() to wrap the text and another sized AW.HTML.Div containing an expanded '100%' grid, this way wz_tooltip could treat the whole thing as a single dimensioned element.
I can run the test page on it's own and everything is fine.
I have tried what you suggested above, wrapping in AW.HTML.Div with size, making the grid 100% width + height. It looks great when run as a standalone page, but nothing shows when the page html is passed into Tip().
If you have the time, try taking any simple grid sample, like "grid behavior - editing/editing.htm", execute it through ajax to get the html and try to pass that into Tip(). You can do it all in the same page and it's the same result.
Again, if in a function I just create a grid object, then pass it into Tip(), it works. There's got to be something simple here having to do with the outer html?
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.