Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.

Show table header without THEAD - workaround #60

Description

@msteudtn

As written in the description and the FAQ, the filter looks for TBODY and THEAD.

If you can't change the HTML source-code and are stuck with simple TR and TD, you can use this dirty workaround to show the first table-line.

Add the following line: "tbody.find('tr:eq(0)').show().addClass(settings.visibleClass);" around line 240 so it looks like:

[...] 
// remove previous highlights
all_tds.removeClass(settings.highlightClass);
				
// dirty workaround
tbody.find('tr:eq(0)').show().addClass(settings.visibleClass);
	
// hide footer if the setting was specified
if (settings.hideTFootOnFilter) {
[...]

This is NOT a real issue.
We had this problem on an old Sharepoint-installation and I wanted to share our solution. :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions