Power of CEWP series: Alphabetical List View Quick Filter

August 15th, 2010 | Categories: JavaScript, SharePoint

Alphabetical List View Quick Filter

Staying loyal to JavaScript and CEWP I’ve published a new part in the Power of Content Editor Webpart series.

This time we use calculated field and filtering list view via URL to create a simple alphabetical filter positioned above or below list view:

After that taking this one step further we expand this example to make a configurable script with some (configurable) styling and displaying the selected filter value:

And with configurable styling we could even simply manipulate the look and feel of the filter.

The same script can be used on multiple lists and views without rewriting the code. All because using the linked content file approach (tip 3 on this page). If you’re eager to use the script and not go through the entire article, there is full script almost at the end of the article.

Click here to read the article.