문제

I am already searched this issue over internet, I have also used their examples too but It did not work on mine. I have datatables with zero configuration setting, what I want to achieve is that I want the column to be auto adjusted based in the contents on the column.

here's my code.

    <script type="text/javascript" language="javascript" class="init">

        $(document).ready(function() {
            $('#example').dataTable(
            "bAutoWidth":false
            );
        } );

    </script>

I have also tried to adjust using the tables but it did not work.

<table id="example" class="display" cellspacing="0" width="100%">
도움이 되었습니까?

해결책

Have you tried this in table cell width:auto; ?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top