Dec 20 2017 06:31 PM
I have a grouped list that I want to be able to open in 'Edit' mode by default, rather than display mode.
I have done this with other lists that are not grouped, but I need it to work with the grouped ones as well.
Here is what I did for the normal lists:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function() { //Change display form links to edit form links $('.ms-vb a[href*="listform.aspx"]').each(function(){ var url = $(this).attr('href'); url = url.replace("PageType=4", "PageType=6"); $(this).attr('href', url); });
Any ideas on how to have this same functionality for a grouped list would be greatly appreciated!
Dec 21 2017 02:08 AM