columns width increasing in chrome browser

columns width increasing in chrome browser

hirenmanekhirenmanek Posts: 3Questions: 0Answers: 0
edited December 2011 in General
when i sort or search my data my column widths are automatic increseing.

i tried tably layout: fixed its works on mozila but doesn't work on chrome browser my code is as follows:

$(document).ready(function() {
var oJobTable = $('#jobTable').dataTable( {
"bAutoWidth": false,
"sScrollY": "420px",
"sAjaxSource": "config/server_processing_job.php",
"bServerSide": true,
"sDom": "frtiS"
} );
} );

can any body help in this

Replies

  • hirenmanekhirenmanek Posts: 3Questions: 0Answers: 0
    I also tried it with this :
    "aoColumns": [
    { "sWidth": "25%" },
    { "sWidth": "22%" },
    { "sWidth": "12%" },
    { "sWidth": "13%" },
    { "sWidth": "13%" },
    { "sWidth": "15%" }
    ]
    } );

    but it doesn't work.

    If i assigned sWidth is px its works but it doesn't works on persentage.

    can any body help me on this?
  • hirenmanekhirenmanek Posts: 3Questions: 0Answers: 0
    this problem occurs only when i am using
    "DataTables complex header example (row and colspans)".
This discussion has been closed.