Sharepointology is the study and handling of Microsoft Office SharePoint Server

Expand and Collapse All Feature v1.0 Released

Posted 01Feb09 by Erwin in Development


Paul Grenier of has written a jQuery script that allows a user to expand all grouped by instances with one click, as a response to a question I asked on the Stump The Panel forum. I loved the script so much I decided to package it for easier use and distribution and put it on my SharePointology project on

It is a feature called SPOCollapseAndExpandAll, it is a jQuery feature that adds a + and – to the menu bar of the document/list libraries to Expand/Collapse all grouped by’s with one click. days.

Before expanding:


After expanding:


Download SPOExpandAndCollapseAll v1.0.


This webpart needs jQuery to be added to your SharePoint pages.

RSSIf you like this post then please consider subscribing to my full feed RSS. You can also subscribe by Email and have new posts sent directly to your inbox.

2 Responses

  1. Dan Usher

    Looks pretty handy! Will have to try it out soon :)

    Thanks for our contribution!

  2. Anonymous


    Looking for help using a blog site I need to create sub-categories under Categories that are located in the Quick Launch area and also be able to add to sub-categories when needed, plus click the sub-category and it will open the post under that sub-category.

    I hope that I am making sense.
    Thank you so much,

Leave a Comment


My name is Erwin Bastiaensen and I am a Software Architect from Belgium, with a huge interest in technology. Lately I have been involved in some Java projects and implementing, interfacing and extending a Sharepoint portal.

You can contact me at sharepointology[@]

View Erwin Bastiaensen's profile on LinkedIn