Search
4224 results 1521-1530
Forum
- 27th Nov 2016[Solved] How to add { data: "c.column" } as a variable in defaultcontent:?Found my answer in the docs.... Have to use render.. $('#example').dataTable( { "columnDefs": [ { "targets": 0, "data": "download_link", "render": function ( data, type, full, meta ) { return '<a href="'+data+'">Download</a>'; } } ] } );
- 24th Nov 2016How to specify data type of DOM sourced data?attaching functions to columns.data columnDefs: [ { targets: 0, data: function
- 18th Nov 2016Question regarding: Row created callbackwhat works for me. ``` columnDefs: [ { "targets": 5, "createdCell": function
- 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,