Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6600829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:40:29+00:00 2026-05-25T18:40:29+00:00

I have been dropped into a sharepoint 2007 project, and i have relatively little

  • 0

I have been dropped into a sharepoint 2007 project, and i have relatively little experience with altering existing webparts.

My first task is to add a filter to two out of three columns in a list view. My Lead Dev suggests trying to add a jquery combo-box filter, and another dev suggests extending the web part and overriding some of the functionality.

What i think is a good option is to change the context menu for the list view headers, so that instead of “Show Filter Choices” bringing up a standard dropdownlist that only responds to the first letter, it would have a jquery combobox. And maybe if the business requests it, change the wording of that option.

My question to you is, what would be a good path to take on this? Also, what resources are there besides traipsing around books and blogs are there to guide an sp newbie to do this?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T18:40:30+00:00Added an answer on May 25, 2026 at 6:40 pm

    How about something like this:

        <script src="http://www.google.com/jsapi"></script>
    
        <script>
            google.load("jquery", "1.2.6");
            google.setOnLoadCallback(function() { 
    
                $(document).ready(function()
                { 
                    jQuery.extend(jQuery.expr[':'], {
                    containsIgnoreCase: "(a.textContent||a.innerText||jQuery(a).text()||'').toLowerCase().indexOf((m[3]||'').toLowerCase())>=0"
        });
    
        $("table.ms-listviewtable tr.ms-viewheadertr").each(function()
        {
            if($("td.ms-vh-group", this).size() > 0)
            {
                return; 
            }
            var tdset = "";
            var colIndex = 0;
            $(this).children("th,td").each(function()
            {
                if($(this).hasClass("ms-vh-icon"))
                {
                    // attachment
                    tdset += "<td></td>";
                }
                else
                {
                    // filterable
                    tdset += "<td><input type='text' class='vossers-filterfield' filtercolindex='" + colIndex + "' /></td>"; 
                }
                colIndex++;
            });
            var tr = "<tr class='vossers-filterrow'>" + tdset + "</tr>";
            $(tr).insertAfter(this);
        }); 
    
            $("input.vossers-filterfield")
                .css("border", "1px solid #7f9db9")
                .css("width", "100%")
                .css("margin", "2px")
                .css("padding", "2px")
                .keyup(function()
            { 
                var inputClosure = this;
                if(window.VossersFilterTimeoutHandle)
                {
                    clearTimeout(window.VossersFilterTimeoutHandle);
                }
                window.VossersFilterTimeoutHandle = setTimeout(function()
                {
                var filterValues = new Array();
                $("input.vossers-filterfield", $(inputClosure).parents("tr:first")).each(function()
                { 
                    if($(this).val() != "") 
                    {
                        filterValues[$(this).attr("filtercolindex")] = $(this).val();
                    }
                }); 
                $(inputClosure).parents("tr.vossers-filterrow").nextAll("tr").each(function()
                {
                    var mismatch = false;
                    $(this).children("td").each(function(colIndex)
                    {
                        if(mismatch) return;
                        if(filterValues[colIndex])
                        {
                            var val = filterValues[colIndex];
                            // replace double quote character with 2 instances of itself
                            val = val.replace(/"/g, String.fromCharCode(34) + String.fromCharCode(34)); 
                            if($(this).is(":not(:containsIgnoreCase('" + val + "'))"))
                            {
                                mismatch = true;
                            } 
                        }
                    });
                    if(mismatch)
                    {
                        $(this).hide();
                    }
                    else
                    {
                        $(this).show();
                    } 
                    }); 
                }, 250);
            });
        });
    });
    

    It will need to be added to the page via a content editor web part.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just been assigned an inherited coldfusion project. The developer dropped everything and
I am developing a project that lately have been taking off with increased popularity.
I have been asked by my boss at work to look into allowing widgets
I've been looking into javascript test suites and I have found QUnit to be
A suite of integration services that use NServiceBus have been dropped in my lap
I have been looking into the Google Objective-c API, there is a small amount
I have been looking into reducing the memory footprint of an application. Following on
Have been trying to encrypt an xml file to a string so that I
Have been working on this question for a couple hours and have come close
Have been looking on some tutorials for drawing canvas using SurfaceView, but the only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.