Search
4198 results 1451-1460
Forum
- 29th Mar 2017copying to clipboard issue@kthorngren No I don't have as such settings here is my code: $(document).ready(function() { var table = $('#property_list').DataTable( { dom: 'Bfrtip', "columnDefs": [ { "targets": [ 0 ], "searchable": true, }, { "targets": [ 1 ], "visible": true, }, { "targets": [ 2 ], "visible": true, }, ], buttons: [ 'copyHtml5', 'csvHtml5', 'pdfHtml5', 'print' ], fixedHeader: true, paging: false });
- 25th Mar 2017SortingAh thanks. How do you do it for more than one column? $('#example').dataTable( { "columnDefs": [ { "orderable": false, "targets": 0 } ] } ); Do you just make 0 into an array of columns?
- 24th Mar 2017[Buttons Extension] Column visibility selection not working. Also broken on website example.If I delete my columnDefs above I have your
- 22nd Mar 2017Custom soring function not workingthis column. Column config columnDefs: [{targets:1, type: 'sortme'}] Custom
- 22nd Mar 2017How do I get thousands separators in the results?Hi, I tried this but no change. Any idea what I did wrong? Thanks!! $(document).ready(function(){ $('#table').DataTable({ columnDefs: [ { targets: 0, visible: false}, { data: 'Volume', render: $.fn.dataTable.render.number( ',', '.', 2, '$' ) }, ], order: [[1, 'asc']], }); });
- 21st Mar 2017Data render search unknown field errordata: "cicekci.levan" }, { data: "cicekci.id" } ], "columnDefs": [{ "targets": 7, searchable: false,
- 20th Mar 2017How to fix a row with sorting enabledtrue, fixedColumns: { leftColumns: 3 }, columnDefs: [ { targets: 0, type: nameType
- 20th Mar 2017DataTables Checkbox Selection with Columns Configuration OptionHave you included the select CSS and JS? The select CSS contains the config to display the checkboxes. You only need to define the checkbox in either columns or columnDefs. But having it in both should work. Kevin
- 19th Mar 2017hide column by default with colvis?columnDefs can be used to hide the column. Use { targets: 0, visible: false} to hide the first column. @allan I don't think your example to remove name from the visibility list is working. Kevin
- 18th Mar 2017Sorting and Searching functions not workinglike like this: $('#table').DataTable({ columnDefs: [ { targets: 0, visible: false},