Return List to Sorted View

Forums Classic DFFS Return List to Sorted View

Tagged: 

Viewing 2 reply threads
  • Author
    Posts
    • #12946
      jShah
      Participant

      In my custom list, the user sorts by a field then goes into to edit a particular item that was sorted. after making the edits – save item – the list goes back to original list without sorts. Using DFFS on the list. How do keep the list sorted after item edited?

    • #12980
      Alexander Bautz
      Keymaster

      Hi,
      I guess this is the same behavior without DFFS? – the default SP behavior is to refresh the parent form when saving an item.

      I’m sorry, but I don’t have a good method to prevent the reload, but from a google search I see that this might work:

      setTimeout(function(){
      <script type="text/javascript">
           g_varSkipRefreshOnFocus = true;
      },1000);
      </script> 

      Put the code in a CEWP in the list view.

      Please let me know if this works.

      Alexander

    • #13002
      jShah
      Participant

      Thank you Alex! Will try that

Viewing 2 reply threads
  • You must be logged in to reply to this topic.