Search
4194 results 131-140
Forum
- 15th Feb 2017columnDefs "name" not changing header textHi, I'm trying to change some column's names according to the reference, but obviously I'm missing something, because it's not working: jsfiddle example Thanks for any help. Edit: Obviously I'm an idiot. I thought that option changes column header text (use keyword "title"!!), but it's just for further api reference. Sorry. You can delete this.
- 9th Jan 2017how to set dynamically searchable to true or false in columndefsi was trying dynamically set "searchable" to true to a specific column inside a custom filter function. Will the below line work ? table.column('columnIndex').searchable(true); please advise how to set to ture dynamically based on some condition. or any other idea , please guide me. am stuck here. Thanks in advance.
- 12th Jan 2015bSortable columnDefs not working$(document).ready(function() { var dt = $('#example').DataTable( { "processing": true, "serverSide": true, "ajax": "api.php?t=clients", "aoColumnDefs": [ { 'bSortable': false, 'aTargets': [0] } ], "columns": [ { "className": "details-control" , "data": null , "defaultContent": " "}, { "data": "c_name" }, { "data": "c_number" }, { "data": "c_link" } ] } ); My code throw an error of SQL access violation when I included the following with "aoColumnDefs": [ { 'bSortable': false, 'aTargets': [0] } ] But if i remove it, everything works fine, basically I just want disable sorting for column 0 How do I achieve it. Thanks!!
- 24th Jun 2025Event when DT is really ready?row rendering in the columnDefs setting.order = [[0, 'desc']]; setting.autoWidth
- 18th Jun 2025problem with arrow and columns in responsive tableviewTotal: true, orderable: true } } ], columnDefs:[ { className: 'dtr-control arrow-right', orderable:
- 17th Jun 2025When export to pdf or another type of file, the totals is not printed, php mysqlDataTable('#tablita', { language: { url: 'js/es-ES.json', }, columnDefs: [ { targets: [5], // Aplica a
- 11th Jun 2025Alignment issue of checkbox in headerbuttons: buttons } }, columns: commonColumns, columnDefs: commonColumnDefs, ...
- 8th Jun 2025Code for the table on the datatables.net front page.spacer', 'orderAsc', 'orderDesc', 'orderClear'] ], columnDefs: [ { targets: [1, 2], columnControl:
- 7th Jun 2025Several questions about some issues with the new ColumnControl extensionline: { "targets": [-1], "columnControl": [] }, "columnDefs": [ { "orderable": false, "targets": [-1]
- 4th Jun 2025Change page after editing...width: '10px', responsivePriority: 1, } ], columnDefs: [ .... ], buttons: [ .... ], order: [[3, 'asc'],