Hide Select Box that appears after hiding headers in table view

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
wilmira
Veteran Member
Posts: 78
Joined: 2013-07-11 18:00

Hide Select Box that appears after hiding headers in table view

Post by wilmira » 2024-06-12 16:40

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?
Attachments
Captura de pantalla (610).png
Captura de pantalla (610).png (62.64 KiB) Viewed 4216 times

wilmira
Veteran Member
Posts: 78
Joined: 2013-07-11 18:00

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

Post by wilmira » 2024-06-12 20:25

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>

Post Reply