Search
4224 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!!
- 22nd Feb 2026Date search does not always workdata": "name" }, { "data": "mydate" } ], columnDefs: [ { targets: [1], render: DataTable.render.datetime('DD\/MM\/YY'),
- 3rd Feb 2026Can I set a filter from one page to another DataTable?data: 'request.name' }, { data: 'request.product' } ], columnDefs: [ { targets: [0], className: 'dt-body-left'},
- 11th Feb 2026table.row.add() ignores column, when column has a data-sort attribute in first data rowproject, unless I use columnDefs: [{ defaultContent: "-", targets: "_all" }] Description
- 28th Jan 2026rowReorder used in nested edit throws errorclass="ri-delete-bin-7-line childeditor-delete"></i>', orderable: false } ], columnDefs: [ { targets: [1], orderData:[0], }, { targets:
- 27th Jan 2026Cannot read properties of null (reading 'querySelectorAll') in ColumnControlfield.name.slice(1), visible: true }; }); // 2. ColumnDefs (Yahan popup controls define
- 2nd Jan 2026How to configure a fancybox event on an element inside a ?A rare opportunity to add some knowledge! I found the following worked: {targets: 7, "createdCell": function (td, cellData, rowData, row, col){ $(td.firstChild).fancybox() } }, within ColumnDefs. Many hours frustration .....