Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

87
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda