Page 1 of 1

Hide Select Box that appears after hiding headers in table view

Posted: 2024-06-12 16:40
by wilmira
I needed to hide the headers of a table in table-view, so I have used the code: $options->ShowTableHeader = 0; but this makes a select box to appear. This select box is inside the div with class: pull-right. Does somebody know how to hide this select box?

Re: Hide Select Box that appears after hiding headers in table view

Posted: 2024-06-12 20:25
by wilmira
I have found the answer. In case somebody else needs to solve this in the future, just add the following code in your hooks/header-extras.php file:

Code: Select all

<script>
    $j(function() {
        $j("#order-by-selector").hide();
    });
</script>