Show Tool Tip in SharePoint on Column when Mouse Over


Requirement: We had an requirement whereby tool tip should be displayed on mouse over of one SharePoint columns. Tool tip should show data from other column. User can change tool tip data anytime and tool tip should reflect it.

Solution: Create a SharePoint Designer page to modify XSLT and call Tip() and UnTip() function. See below...
For Static text this can be done using Content Editor Webpart.
<script type="text/javascript" language="javascript" src="/wz_tooltip.js"></script>
<a href="#" onmouseover="Tip('{@Customer_x0020_Traction_x0020_Re}');" onmouseout="UnTip();">

You can find more information about this tooltip script in the below link.
http://www.walterzorn.de/en/tooltip/tooltip_e.htm

Comments

  1. What would this look like for multiple fields needed for this?

    ReplyDelete
  2. I try this code and it is easily working in mouse over.thanks for sharing such nice code.

    ReplyDelete
  3. minimum effort and works great. thanks!

    ReplyDelete
  4. I need to show description (of the column) as a tool tip while editing the list columns in the list view mode for SP2013..its not working..can you suggest any solution?

    ReplyDelete

Post a Comment

Popular posts from this blog

Switch from Classic to Claims Authentication in SharePoint 2010

How to query list data using web service