Search
4245 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!!
- 5th Sep 2026php new field not in the databasee.g. in columns or columnDefs: { data: 'isobic.BIC', render: data
- 1st Sep 2026$.extend(true, DataTable.defaults) ignores 'column' defaults in DataTables 3would need to be columnDefs: [{ orderSequence: ["asc", "desc"], targets:
- 3rd Aug 2026Problem with date type on 3.0 updateI have everything in columnDefs: { targets: '_all', columnControl: { target:
- 29th Jul 2026Typescript interfaces exported vs notinterface DataTablesSetup { buttons: ButtonConfig[]; columnDefs: object[]; // not properly typed
- 22nd Feb 2026Date search does not always workdata": "name" }, { "data": "mydate" } ], columnDefs: [ { targets: [1], render: DataTable.render.datetime('DD\/MM\/YY'),
- 29th Jun 2026colVis .noVis does not work with checkboxclass="editor-active">' : data, className: 'dt-body-center' } ], columnDefs: [ { "targets": 0, "className": 'noVis'