Hide Select Box that appears after hiding headers in table view
Hide Select Box that appears after hiding headers in table view
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 (62.64 KiB) Viewed 4215 times
Re: Hide Select Box that appears after hiding headers in table view
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>