Can we able to hover over the text of multi lines of text in SharePoint List without opening the item.

Changal Rayudu 40 Reputation points
2023-11-07T10:11:52.01+00:00

Our sales team list has the lot of fields and hundreds of items in production list. There are some fields with multi lines of text as a field type. And there is lot of matter is written by the legal team in those fields. And their Advisor wants to see the full text of the multi line of text without opening the item. Because there is lot of fields with multi line of text, Advisor wants to see the full text of the relevant items. It is taking lot of time and also confusion, If he open each item and close it. Can we able to show the text in multi line text field as hover over text without opening the item in SharePoint List. Please advice it.

Azure AI Custom Vision
Azure AI Custom Vision
An Azure artificial intelligence service and end-to-end platform for applying computer vision to specific domains.
233 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,784 questions
0 comments No comments
{count} votes

Accepted answer
  1. AllenXu-MSFT 17,741 Reputation points Microsoft Vendor
    2023-11-08T02:13:33.2666667+00:00

    Hi @Changal Rayudu,

    Unfortunately, there is no out-of-the-box way to display the content of multi-line text fields by hovering over them in SharePoint.

    As a workaround, we can add scrollbars to multi-line text columns using JSON formatting. Add the below JSON code to the multiple lines of text column in your SharePoint list.

    {
      "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
      "elmType": "div",
      "children": [
        {
          "elmType": "div",
          "txtContent": "@currentField",
          "style": {
            "padding": "11px 8px",
            "max-height": "64px",
            "overflow-y": "auto",
            "align-items": "flex-start"
          }
        }
      ]
    }
    

    Test result in my environment is attached below. We don't need to open each item to see the content of multiple lines of text column anymore.

    testresult

    Hope this helps. Let me know if you still have any other questions.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


0 additional answers

Sort by: Most helpful