Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

79
Views
Datatable's search box length overlapping

I have done some settings for button pdf , excel on datatable.Settings such as page orientation for pdf is landscape, and the color of the pdf and excel buttons as shown in the image below. But the length of the search box overlaps

How to adjust the length of the search boxes so they don't overlap? enter image description here

(function($) {
            var datatableInit = function() {
                $.fn.DataTable.ext.classes.sFilterInput = "form-control form-control-sm mt-1";

                $('#tableSKKO').dataTable({
                    "responsive":true,
                    "searching":true,
                    "processing": true,
                    "serverSide": true,
                    "ordering": false,
                    "order": [],
                    "ajax": {
                        "url": "<?php echo site_url('admin/ajax/skko')?>",
                        "type": "POST",
                    },
                    lengthMenu: [
                        [ 10, 25,  -1 ],
                        [ '10 rows', '25 rows',  'Show all' ]
                    ],
                    dom: 'Blfrtip',
                    buttons: {
                        buttons: [
                            {extend: 'excel', className: 'btn btn-success'},
                            {
                                extend: 'pdfHtml5',
                                className: 'btn btn-danger',
                                orientation: 'landscape',
                                pageSize: 'LEGAL'
                            }
                        ],
                        dom: {
                            button: {
                                className: 'btn'
                            }
                        }
                    },
                });

            };

            $(function() {
                datatableInit();
            });

        }).apply(this, [jQuery]);
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!