Column width is not working for me. Please help

Column width is not working for me. Please help

alano0oalano0o 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" }
    ]});

Answers

This discussion has been closed.