I have a list web part that I want to show up without results until the "Find an item" box has been searched. In other words, the default return should be null. I can't find how to do this through the out of the box sharepoint 2013. Is there a way to do this without code? If not, any help with coding it would be greatly appreciated. Thanks, Robert

1 Answer 1


SharePoint Client-side rendering can be used to achieve this. You can override the PreRender of the desired ListView and write code to not show any items when search box is empty.

Please refer this article to know how CSR works.

  • Thank you for the above. I'm afraid it is a little above my pay grade. Could you possibly give me an example of having the list as null if search box is empty? Thanks!
    – rwc
    Nov 24, 2016 at 6:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.