Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(".mydataTable").dataTable({
- "aoColumnDefs": [
- {"bVisible": false, "aTargets": [ 0 ] }
- ],
- "aaSorting": [[ 0, "desc" ]],
- "bJQueryUI": true,
- "bPaginate": false,
- "bStateSave": true,
- "bInfo": false,
- "aLengthMenu": [5, 10, 15, 25, 50, 100],
- "iDisplayLength" : 10,
- "bAutoWidth" : false,
- "aoColumns": [
- { "sWidth": "70px" },
- { "sWidth": "90px" },
- { "sWidth": "220px" },
- { "sWidth": "90px" },
- { "sWidth": "90px" },
- { "sWidth": "90px" }
- ],
- });
- "aoColumnDefs": [
- {"bVisible": false, "aTargets": [ 0 ] },
- { "sWidth": "10%", "aTargets": [ 2 ] }
- ],
- <table class="mydataTable" style="width: 650px;">
- table#customTable {
- table-layout: fixed;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement