Disable Sorting and Filtering in related items (Quick edit mode)

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Patrick1010
Posts: 11
Joined: Wed Jun 07, 2017

15 Jun 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?

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

15 Jun 2017

Hi,
You can try to disable filtering with JavaScript as described here:
https://sharepoint.stackexchange.com/qu ... nd-sorting

Patrick1010
Posts: 11
Joined: Wed Jun 07, 2017

15 Jun 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');
});

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

16 Jun 2017

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

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests