none
How to hide Title for Lookup Column in header list? RRS feed

Answers

  • Hi,

    We can add the following code into a Script Editor web part in the list view page to achieve it.

    <script src="//code.jquery.com/jquery-3.2.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    	$(".ms-headerSortTitleLink").each(function(){
    		$(this).text($(this).text().replace(":Title",""));
    	});
    });
    </script>

    Best Regards,

    Dennis


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    • Marked as answer by Ameenah Tuesday, December 26, 2017 7:58 AM
    Tuesday, December 26, 2017 6:43 AM
    Moderator

All replies

  • Hi,

    We can add the following code into a Script Editor web part in the list view page to achieve it.

    <script src="//code.jquery.com/jquery-3.2.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    	$(".ms-headerSortTitleLink").each(function(){
    		$(this).text($(this).text().replace(":Title",""));
    	});
    });
    </script>

    Best Regards,

    Dennis


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    • Marked as answer by Ameenah Tuesday, December 26, 2017 7:58 AM
    Tuesday, December 26, 2017 6:43 AM
    Moderator
  • Thank You
    Tuesday, December 26, 2017 7:59 AM