locked
Create a button that will Expand / Collapse List Views Grouping RRS feed

  • Question

  • Hi.

    Can you please help me create a button that will Expand / Collapse List Views Grouping

    Thanks,

    Friday, January 18, 2013 6:17 AM

Answers

  • you can use group by option in view which creates expand and collapse button by default. Check this thread

    http://sharepoint.stackexchange.com/questions/41590/expand-and-collapse-all-button-for-any-sharepoint-list

    if you are looking for a custom one, we can acheive this using javascript or jquery check this post

    http://sharepoint.stackexchange.com/questions/25107/expand-collapse-all-grouped-items-in-views-of-a-page

    http://www.alectang.com/blog/archive/2010/09/09/easy-expand-or-collapse-sharepoint-list-in-group-by-view.aspx

    you might have to find the appropriate id in SharePoint 2010 if its not working


    Raghavendra Shanbhag | Blog: www.SharePointColumn.com
    Please click "Propose As Answer " if a post solves your problem or "Vote As Helpful" if a post has been useful to you.
    Disclaimer: This posting is provided "AS IS" with no warranties.

    • Marked as answer by Jack-Gao Wednesday, January 23, 2013 12:20 PM
    Friday, January 18, 2013 7:05 AM