question

siddiqali-9082 avatar image
0 Votes"
siddiqali-9082 asked Jerryzy edited

Display other SharePoint List item informaiton on Mouse hover using JSOM

Hello All,

Using JSOM I am able to display SharePoint List Items via html table ,
But my client wants to display other SharePoint List item as a comment when user mouse hover .

Can anyone please help me how can I get it.

office-sharepoint-server-developmentoffice-js-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Jerryzy avatar image
0 Votes"
Jerryzy answered Jerryzy edited

Hi @siddiqali-9082 ,

You can add title attribute (title = “value from other list item field”) to the table <td> cell to add tooltip information when mouse hover:

91937-snipaste-2021-04-28-13-32-29.png


Here are some similiar question for your reference:

How to add tooltip to HTML table cell without using JavaScript ?

Tooltips for cells in HTML table (no Javascript) [2]: https://www.geeksforgeeks.org/how-to-add-tooltip-to-html-table-cell-without-using-javascript/


Thanks
Best Regards



If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.