Alphabet Search

Show Alphabet buttons above the table to filter rows by their first letter.

Often, it’s interesting to quickly navigate a table alphabetically by the first letter.

Feature description

This feature adds a clickable alphabet above the table, which can be used for faster alphabetic filtering. Letters for which there are search results are shown in a different color than those which don’t have search results. When hovering the letters, the visitor will also see the number of corresponding search results. Clicking on a letter will then only show those rows where the configured column starts with the clicked letter.

Here is an example:

Last NameFirst NameCompanyZIP code
BanksTravisApple64655
CainLawrenceIBM98004
MiddletonDennisGoogle80913
ValenzuelaLuneaCisco51606
BurgessQuynnMozilla78965
LottLillithDell88178
FreemanCheyenneLG14711
HoustonJordenAdobe96036
HarrisMerrittApple25178
GregoryBrynnAdobe91558

You can choose between showing the “Latin” or the “Greek” alphabet, as well as whether letters and/or numbers should be shown. For letters, it’s then also possible to choose if uppercase and lowercase letters should be shown separately.

Usage instructions

To use this feature with your tables, enable the “Alphabet Search” module on the TablePress “Modules” screen.

Then, activate and configure the feature for the desired tables on the corresponding “Edit” screen.

Configuration parameters

To configure this module’s features, you can also use these configuration parameters in the “TablePress Table” block or in the Shortcode that you are using to embed the table:

ModuleSlugConfiguration parameterNameDescriptionTypeDefault value
Alphabet Searchdatatables-alphabetsearchdatatables_alphabetsearchboolean (true or false)false
Alphabet Searchdatatables-alphabetsearchdatatables_alphabetsearch_columnstring1
Alphabet Searchdatatables-alphabetsearchdatatables_alphabetsearch_alphabetenum (latin or greek)latin
Alphabet Searchdatatables-alphabetsearchdatatables_alphabetsearch_numbersboolean (true or false)false
Alphabet Searchdatatables-alphabetsearchdatatables_alphabetsearch_lettersboolean (true or false)true
Alphabet Searchdatatables-alphabetsearchdatatables_alphabetsearch_case_sensitiveboolean (true or false)false