How to hide the search bar in a manual print button(not the data table print button)?

How to hide the search bar in a manual print button(not the data table print button)?

h3avenh3aven Posts: 3Questions: 2Answers: 0

How to hide the search bar in a manual print button(not the data table print button)?

my code is

<link rel="stylesheet" href="https://cdn.datatables.net/responsive/2.2.1/css/responsive.dataTables.min.css">

$(document).ready( function () { $('#mytable').DataTable(); } );

<style>
.dataTables_info{text-align:right; margin:5px 0;}
.dataTables_paginate {
display: block;
text-align: right;

}
.paginate_button{
    display: inline-block;
    padding: 5px 10px;
    background: #fff;
    color: #333;
    transition:.2s;
}
.paginate_button:hover{
    background:#eee;
}
.paginate_button.current{
    display: inline-block;
    padding: 5px 10px;
    background: #4285f4;
    color: #fff;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);

}
</style>

printMe = 'yes' $(document).ready(function(){ loadNavigation('viewPrimaryLink', 'glmaster', 'plsub1', 'Manage Link', 'PrimaryLink'); if($(window).width() < 769){ $('.custom-tab .nav-link:not(.active)').hide(); }; });

Answers

This discussion has been closed.