Disable Sorting and Filtering in related items (Quick edit mode)
-
- Posts: 11
- Joined: Wed Jun 07, 2017
Hello Dmitry,
I'm looking for a way to disable the sorting and filtering (including column rename) function within the related items in Quick edit mode.
I tried to change the FieldRef properties:
old: <FieldRef Name="Title" />
new: <FieldRef sortable="FALSE" filterable="FALSE" filterdisablemessage="No filter available " linktoitem="TRUE" Name="Title" />
However this doesn't seem to work in Quick edit mode.
Do you know a way how I could disable the the sorting and filtering of the related items grid?
I'm looking for a way to disable the sorting and filtering (including column rename) function within the related items in Quick edit mode.
I tried to change the FieldRef properties:
old: <FieldRef Name="Title" />
new: <FieldRef sortable="FALSE" filterable="FALSE" filterdisablemessage="No filter available " linktoitem="TRUE" Name="Title" />
However this doesn't seem to work in Quick edit mode.
Do you know a way how I could disable the the sorting and filtering of the related items grid?
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
You can try to disable filtering with JavaScript as described here:
https://sharepoint.stackexchange.com/qu ... nd-sorting
You can try to disable filtering with JavaScript as described here:
https://sharepoint.stackexchange.com/qu ... nd-sorting
-
- Posts: 11
- Joined: Wed Jun 07, 2017
Hello Dmitry,
Thank you for the link. The idea is great!
However it's not working because there will be always a refresh of the related items grid at the end and then the new header items is gone. I also tried using setTimeout function but this doesn't make a difference.
$.each( $('[id^=diidSort]') , function () {
$(this).closest('th').html('New Title');
// $(this).closest('th').html(this.text);
alert('done');
});
Thank you for the link. The idea is great!
However it's not working because there will be always a refresh of the related items grid at the end and then the new header items is gone. I also tried using setTimeout function but this doesn't make a difference.
$.each( $('[id^=diidSort]') , function () {
$(this).closest('th').html('New Title');
// $(this).closest('th').html(this.text);
alert('done');
});
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Our support team can research it for you and provide a script that disables headers. It will take 2 support hours. If it's OK, please, purchase the support in our store:
https://spform.com/buy/support-maintenance
https://spform.com/buy/support-maintenance
-
- Information
-
Who is online
Users browsing this forum: No registered users and 5 guests