Colvis doesnt work

Colvis doesnt work

asilerisasileris Posts: 1Questions: 1Answers: 0

Datatable works perfectly for me however I can not run ColVis plug in.I have neither no javascript error nor other error.I just can not see show hide buton.


<script type="text/javascript" charset="utf-8" src="Scripts/DataTables-1.9.4/DataTables-1.9.4/media/js/jquery.dataTables.min.js"></script>
<script src="Scripts/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.min.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8" src="Scripts/ColVis-1.1.0/ColVis-1.1.0/js/dataTables.colVis.js"></script>
<script type="text/javascript" charset="utf-8" src="Scripts//ColVis-1.1.0/ColVis-1.1.0/css/dataTables.colVis.css"></script>

$('#table_id').dataTable({
"dom": 'C<"clear">lfrtip',
"bJQueryUI": true,
"bAutoWidth": false,
"sScrollX": "100%",
"bScrollCollapse": true,

                     "oLanguage": {
                         "sLengthMenu": 'Display <select>' +
                             '<option value="10">10</option>' +
                             '<option value="50">50</option>' +
                             '<option value="100">100</option>' +
                             '<option value="300">300</option>' +
                             '<option value="500">500</option>' +
                             '<option value="-1">All</option>' +
                             '</select> records'
                     }
                 });
             },

Answers

  • allanallan Posts: 56,187Questions: 1Answers: 8,897 Site admin

    Can you link to the page showing the error, as required in the forum rules, please.

    Allan

This discussion has been closed.