On Friday, July 27, 2018 at 7:33:45 AM UTC-7, GS wrote: > > Hi Guys, > > I am looking to implement a tool tip feature to display content from the > .DB on mouse hover(pointing to each of the cells) > > On Mousehover, I want to pull the unique data from the database for each > of the cells. > I am not sure how can I achieve that for Web2py code. > > Please refer to the attached screenshot. > > Kindly suggest. >
You've got good answers about tooltips from others, so I'll only note that I kinda do tooltips for images by specifying the alt text (showing up as a tooltip doesn't occur in all browsers). But if you need to create the tooltip from data that isn't already loaded (icodk has hizzen already), then you need to use javascript and ajax calls For the web2py side, look at <http://web2py.com/books/default/chapter/29/11/jquery-and-ajax> (there is some hints about the javascript there, too). If we haven't answered your question, please give us more information ... workflow, dataflow, steps you expect the user to take, etc. /dps > > -- > Thanks & Regards > Gaurav Shet > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

