How To Remove/Change “There Are No Items”

When using the “Shaded” style on a view in SharePoint 2013, if there are no items in that view/list then SharePoint shows “There are no items to show in this view of the “Child” list. To add a new item, click “New”.”


After doing some research I found a link with some that assisted me. Its quite simple, add the code below into a Content Editor Web Part on the page and it would change it for you. You can even change the text to something you like by changing the inner.HTML tag in the code. Thanks to Uday Kumar Reddy for this blog post.

function ChangeDiscussionMessage()

var a = document.getElementsByTagName("TD")
for (var i=0;i<a.length;i++) { if (a[i].className=="ms-vb") { if (a[i].innerText.indexOf("There are no items to show in this view")>-1)
a[i].innerHTML = "No items in this list."; #AD



Hope it helps..