Search
4234 results 131-140
Forum
- 24th Feb 2016which callback should i use to change columnDefs target on demand?Currently no. That is a feature I hope to add in a future version of Editor. Allan
- 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!!
- 30th May 2026Checkbox disapears when using version 3.1.1+ of select with bootstrap5Upgraded select from 3.1.0 to 3.1.3 using bootstrap5 and columnDefs: [ { targets: 0, className: 'select-checkbox' } ], stopped working. It seems that it happened in version 3.1.1. Checkbox works with DataTables styling. Test case: https://live.datatables.net/moyefodo/1/edit KR, Björn H
- 10th May 2026Problems with Disabling Column Control for Specific Columnstarget: 1, content: [ 'search' ] } ], columnDefs: [{ target: -1, columnControl: [] }, ] }); I'm
- 6th May 2026Range Filter based on data-* attributesnew DataTable('#example', { searchHighlight: true, columnDefs: [ { className: 'select-filter', targets: [2]
- 4th May 2026Unable to find an exact date using FixedColumns component and calendar with data in DateTime formatline render: DataTable.render.date() in columnDefs definition, the date is
- 28th Apr 2026string-based index for configuration/examplesmap(n => ({name: n})), columnDefs: [ { targets: 'action:name', columnControl: ['order']
- 31st Mar 2026Force column width with dataTables 2.3.7arrow (30px). But using columnDefs with { width: 30, targets: