Search
4202 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!!
- 16th Sep 2025Four "G"'s appear above [Print] buttonlt;script type="text/javascript"> $(document).ready(function () { $('#agencyTable').DataTable({ columnDefs: [ { targets: 0, className: 'noExport'
- 11th Sep 2025Drop-Down SELECT filter causing column to sortrow filters: new DataTable('#requests', { "columnDefs": [ { "targets": [0], // Target the
- 26th Jul 2025Global datatable initialisation for simple tablesthe datatable table initialiser, columnDefs can be set up
- 16th Jul 2025SearchPanes stya empty with serverside skriptingdoes DataTables send the information stored in columnDefs[] somewhere in the request? Part of it. See this page in the manual for the information that the server-side processing request contains. It includes the name, data, searchable and orderable options. Allan
- 13th Jul 2025How to send hidden value by rowelement when I use: columnDefs: [ { targets: 1, visible: false
- 8th Jul 2025Remove ColumnControl on certain Columnsdo I combine these? columnDefs: [ { targets: [1, 4, 5,