SharePoint 2013 - collapse Tasks with subtasks by default. RRS feed

  • Question

  • Hello, I've a requirement where I have to collapse all tasks in the task list by default . Currently, I've more than 500 tasks and scrolling all the way up and down to find and update tasks are really challenging. This is a critically requirement as the task list is growing everyday and soon the team will give up in using the list.  Any quick response is appreciated.


    Thursday, May 1, 2014 12:16 AM

All replies

  • Sounds like time for Microsoft Project or Excel if you must!

    Rod Gill
    Author of the one and only Project VBA Book

    Thursday, May 1, 2014 6:08 AM
  • Hi Mohan,

    Did you ever find an answer to this issue? I'm trying to do the same thing. 


    Tuesday, December 23, 2014 8:47 PM
  • add a HTML Form in the web part.  Edit that webpart.  there is a tab called source editor.  click on it and remove the text that is there.  copy and paste this code:

    <script src="//"></script>
    < script src="//"></script>
    < script type="text/javascript">
    jQuery(document).ready(function($) { 
        function doCollapseTaskList() {
    $(".ms-commentcollapse-iconouter > img").each(function(){
    $(function() {
      SP.SOD.executeOrDelayUntilScriptLoaded(function () {
    if (typeof asyncDeltaManager != "undefined")
              else doCollapseTaskList();
    < /script>

    Friday, February 13, 2015 6:49 PM