Return List to Sorted View
- This topic has 2 replies, 2 voices, and was last updated 10 years, 2 months ago by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Home › Forums › Classic DFFS › Return List to Sorted View
Tagged: sort list
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?
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
Thank you Alex! Will try that