Language and Style bug ?

Language and Style bug ?

MaloukMalouk Posts: 1Questions: 0Answers: 0

I have a little problem. I tried to style my painting as in the following example:

but I have the following result:

Also, I don't have the translation of my code.

   $(document).ready(function () {
    var x = $('#datatable').DataTable({
    language: {
   "url"  : ""
    dom: 'lBfrtip',
    buttons: [
        'excel', 'csv', 'pdf', 'copy'
    lengthMenu: [10, 25, 50, 100]


    $('.dt-buttons.btn-group').attr('id', 'datatable_button');

    var headerDatatable = $("<div class='row'></div>");
    headerDatatable.append('<div class="col-sm-12 col-md-6"><div class="row"><div class="col-3" id="placeLength"></div> 
    <div class="col-9" id="placeButton"></div></div></div>');
headerDatatable.append($('<div class="col-sm-12 col-md-6"></div>').append($('#datatable_filter')));

var bodyDatatable = $("<div class='col-sm-12'></div>");
bodyDatatable = $("<div class='row'></div>").append(bodyDatatable.append($('#datatable')))

var footerDatatable = $("<div class='row'></div>");
$('#datatable_info').wrap("<div class='col-sm-12 col-md-5'></div>")
$('#datatable_paginate').wrap("<div class='col-sm-12 col-md-7'></div>")

Can you help me, please?
Thank you


  • colincolin Posts: 8,013Questions: 0Answers: 1,348

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.



Sign In or Register to comment.