Is there any code in JavaScript which allow to manipulate filter to a library webpart?


There is no documented API that would help to filter ListViewWebPart using JavaScript. The best way to achieve this would be to use query string parameter filtering, like described here http://www.sharemuch.com/2013/11/18/sharepoint-silly-questions-filtering-list-view-with-query-string-parameters/

You could redirect from JavaScript with window.navigate() to a page with appropriate query string parameters.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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