Search
4218 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!!
- 8th Dec 2025Issue in datatable multiple fixed headersasc'],[0, 'asc']], orderMulti: false, columnDefs: [ { targets: '_all', orderSequence: ['asc',
- 2nd Dec 2025Server-side with columnControl: Active state CSS and button Clear Search not workingsearch']], // 5. Column Definitions columnDefs: [ { targets: [1], name: "COLUMN_A",
- 29th Nov 2025How to trigger excel export from an external button?table = $table.DataTable({ data: tableData, columnDefs: columnDefs, dom: 'Bfrtip', scrollX:
- 12th Nov 2025Joining strings from different columnsBuild columnDefs array var columnDefs = []; if (shouldCombine) { columnDefs.push({ targets: firstNameIdx, render: (data,
- 30th Oct 2025DataTable stuck on processing even if AJAX response is fine. It only shows the loading icon.data: 'months'}, {data: 'cvs_encoding_status_id'} ], columnDefs: [ { "defaultContent": "-", "targets": "_all" } ] }); Server-side:
- 20th Oct 2025pdfmake RTLurl: '/p/ar.json' }, dom: 'Bfrtip', columnDefs: [ { targets: '_all', className: 'dt-right'