Search
4198 results 1501-1510
Forum
- 15th Nov 2016Searching a rendered columndata": "Desc_Short", width: "50%" }], columnDefs: [ { targets: [ 3 ], orderData: [ 0,1,2
- 14th Nov 2016Performance ImprovementsscrollY": "200px", "scrollX": true, "columnDefs": [ { "orderData": [], "targets": 0 }, //TURN
- 14th Nov 2016Moving from Examples to my ProjectDataCollection.task_description" }, { "title":"Created", "data": "DataCollection.created" } ], /* columnDefs: [ { "type":"date", targets: [ 0 ], orderData:
- 3rd Nov 2016how order DataTable with one column of strings by row index?I figured out above option 2 from the Hidden Columns example. The table is initialized below with the necessary columnDefs: var t = $('#example').DataTable( { "order": [[ 0, "desc" ]], "columnDefs": [ { "targets": [ 0 ], "visible": false, "searchable": false }, ] });
- 1st Nov 2016Can I associate value with dropdown selection for Editor update?data: "job_assignments.machine_id" }, { data: "machines.machine_name" } ], columnDefs: [ { // The `data` parameter refers
- 31st Oct 2016One hyperlink displays; one doesn'tBased on your code above you would have something like: "columnDefs": [{ "targets": 2, "render": function(data, type, full, meta) { return '<a href=\"' + data + '\" target=\"_blank\">Visit</a>'; }, }, { "targets": 4, "render": function(data, type, full, meta) { return '<a href=\"/' + data + '\" target=\"_blank\">View</a>'; } }] Allan
- 18th Oct 2016Sorting not working correctly when adding data-order through createdCellaaData": tableData, "aoColumns": tableHeader, "columnDefs": [ { "createdCell": function (td, cellData,
- 16th Oct 2016Mark some rows depending on database contentspdf', orientation: 'landscape' }, 'print'], columnDefs: [ { 'targets': 0, 'createdCell': function
- 15th Oct 2016force width for one column but letting others autosize to content & screenYou need to use the columnDefs parameter to set the width. 'columnDefs': [ { "width": "25px", "targets": [0] }, { "bSortable": false, "targets": [0] } ] You can see an example here
- 13th Oct 2016Butto at first position in DT version 1.10.12having both columns and columnDefs options in the same