Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

89
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda