Filter ListView with variable using JQuery in SharePoint 2016

Michael Williams 21 Reputation points

Hello Everyone,

I've looked everywhere. I'm simply trying to dynamically set the filter of one of my columns in a ListView with a variable from a form on the same page in SharePoint 2016.

Please help,


SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,594 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MichaelHan-MSFT 18,021 Reputation points

    Hi @Michael Williams

    For your requirements, I would suggest you use SharePoint filter Web Part to achieve this. Please refer to this article for more:

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Michael Williams 21 Reputation points

    None of these options work for me. I already have the ListView filtered by SSN and I want to filter the list by Fiscal Year as well when the user clicks on a top ListView item. Is this possible with one of these options?

    0 comments No comments