Hide and show functionality in Sharepoint.

Dani Solano 21 Reputation points
2020-12-28T20:21:13.69+00:00

Hi,

I am new on this matter. I'm designing an Ishare and I want to have a title with the symbol to hide or show more details when the user clicks on it. How I can do that?
For instance, the title will be a term and when the user clicks the + icon he will see the definition, something similar to the treelist or hierarchy list.

Thank you!

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

Accepted answer
  1. Jerry Xu-MSFT 7,961 Reputation points
    2020-12-29T02:48:37.033+00:00

    Hi, @Dani Solano ,

    With your description, I would like to know more detailed requirements from you for your task. Please let us know your thoughts about the following questions.

    1. What do you mean about "Ishare"? Is it a custom web part, a page or even a list?
    2. You mentioned "have a title with the symbol to hide or show more details when the user clicks on it", where do you want to show the tile with the symbol? And where does the details information come from, from documents in a library? Are you planning to do this in a document library?
    3. For the part "the user clicks the + icon he will see the definition, something similar to the treelist or hierarchy list", what would be the contents of the "definition"? In the treelist, what would you like to display?

    If possible, please share us with a rough diagram for demonstration. You can paint on a screenshot with detailed requirements.


    If an Answer 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.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.