Skip to content

Show table header without THEAD - workaround #60

@msteudtn

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. :)

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