Sum in Child View
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Dear ksertkaya,
It does move to the side for some reason, we will take a closer look at it, meanwhile, you can use the following code to fix this issue.
Just add this line to JavaScript editor and it should look fine:
Of course, if you have more than one Related Items control that you want to fix, do it for each one, just change the number in fd.relatedItems(HERE), but not the other one, it must be zero.
Let me know if this works for you or if it doesn't, we'll think of something else. Hope this information helps!
It does move to the side for some reason, we will take a closer look at it, meanwhile, you can use the following code to fix this issue.
Just add this line to JavaScript editor and it should look fine:
Code: Select all
fd.relatedItems(0).find("table.ms-listviewtable tbody tr td").eq(0).hide();
Let me know if this works for you or if it doesn't, we'll think of something else. Hope this information helps!
Cheers
-
- Posts: 21
- Joined: Sun Feb 24, 2019
I have the same issue today! Applied the fix mentioned but it did not work for me??? Please help. My form has 2 Related Items so I added the following just to make sure. I did this on the Edit and Display forms.
fd.relatedItems(0).find("table.ms-listviewtable tbody tr td").eq(0).hide();
fd.relatedItems(1).find("table.ms-listviewtable tbody tr td").eq(0).hide();
fd.relatedItems(0).find("table.ms-listviewtable tbody tr td").eq(0).hide();
fd.relatedItems(1).find("table.ms-listviewtable tbody tr td").eq(0).hide();
-
- Information
-
Who is online
Users browsing this forum: No registered users and 9 guests