Column width is not working for me. Please help
Column width is not working for me. Please help
 alano0o            
            
                Posts: 1Questions: 1Answers: 0
alano0o            
            
                Posts: 1Questions: 1Answers: 0            
            This is how I initialize my table. The column width has no effect. Any help will be appreciated.
    var tabla = $('#tabla').DataTable({
    "scrollX": true, 
    "columns": [ 
        { "width": "25px" }, 
        { "width": "25px" }, 
        { "width": "450px" }, 
        { "width": "20px" }, 
        { "width": "20px" }, 
        { "width": "20px" }, 
        { "width": "20px" }, 
        { "width": "20px" },
        { "width": "20px" },
        { "width": "20px" },
        { "width": "20px" },
        { "width": "20px" },
        { "width": "20px" },
        { "width": "20px" },
        { "width": "20px" },
        { "width": "20px" },
        { "width": "20px" },
        { "width": "20px" },
        { "width": "20px" },
        { "width": "20px" },
        { "width": "20px" },
        { "width": "20px" },
        { "width": "20px" },
        { "width": "20px" }
    ]});
This discussion has been closed.
            
Answers
Set the
autoWidthto false.