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

210
Views
How to change datatable show entry position

I want to change datatable show entry position in my project by default it is on top left but i want to bottom right.

this is my datatable position code:

$('#ebayebuygumm').DataTable({
    "sDom": 'Lfrtlip',
    "columnDefs": [
        { 
            "targets": [0,-1], //first column / numbering column
            "orderable": false, //set not orderable
        },
    ],
    "lengthMenu": [[10, 50, 100, 250], [10, 50, 100, 250]],
    "order": [[ 2, "asc" ]]
});
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

    $('#ebayebuygumm').DataTable({
                     "sDom": '<"top"f>rt<"bottom"pli>',
                    "columnDefs": [
            { 
                "targets": [0,-1], //first column / numbering column
                "orderable": false, //set not orderable
            },
            ],
                     "lengthMenu": [[10, 50, 100, 250], [10, 50, 100, 250]],
                     "order": [[ 3, "asc" ]]
                });

and also this css
#ebayebuygumm_paginate{
    float: right;
}
#ebayebuygumm_length{
    float: right;
    margin-right: 12px;
}

"sDom": '<"top"f>rt<"bottom"pli>',

by this you can change position of dom

about 4 years ago · Juan Pablo Isaza Report
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!