Quantcast
Channel: DataTables 1.9 — DataTables forums
Viewing all articles
Browse latest Browse all 124

Help with the error

$
0
0

Older project that I am reviving. I get the error: DataTables warning: table id=dtable - Requested unkown parameter '16' for row 0. For more information about this error, please see http://datatables.net/tn/4.

in javascript console I get:
Uncaught TypeError: Cannot read property 'className' of undefined

My init code:

<script type="text/javascript" charset="utf-8">
                        $(document).ready( function () {
                                var oTable = $('#dtable').dataTable( {
                                        "sDom": 'RCT<"clear">lfrtip',
"sPaginationType": "full_numbers",
"bStateSave": true,
"oTableTools": {
                        "sSwfPath": "/media/swf/copy_csv_xls_pdf.swf"
                                        }

                                } );
                                $('#reset').click( function () {
                                        ColReorder.fnReset( oTable );
                                        return false;
                                } );
              } );
                </script>

<style type="text/css" title="currentStyle">
    @import "/media/css/demo_table.css";
    @import "/media/css/ColVis.css";
    @import "/media/css/TableTools.css";
</style>

Where else is it getting the number of columns from ?

Thanks,
Kevin


Viewing all articles
Browse latest Browse all 124

Trending Articles