Search
23452 results 4081-4090
Forum
- 20th Sep 2023How can I add a button inside a column called actionsLooking at your config it looks like you might need to add a column to columns setting columns.data to null. For example: columns1.value = [ {data: null, render:function(data,type,row,meta) {return (meta.row+1)}}, {data: 'titulo'}, {data: 'estado'}, {data: 'id_region'}, {data: 'created_at'}, {data: null} ]; Kevin
- 19th Sep 2023I have a question can we display multiple lists of data in a single datatablebDestroy": true, //data: output, columns: [ { data: 'Line', defaultContent: '' }, { data:
- 18th Sep 2023Nested editing with new table for each entrycan have as many columns in the datatable field
- 15th Sep 2023Redraw table - Server side - Json Responsetrue, 'ajax': { url: '/api/base/?format=datatables'}, 'columns': [ {'data': 'p_id_s'}, {'data': 'patientid.patientid'},
- 14th Sep 2023Custom search filter - Serversideare data of the columns in the datatable. format:
- 14th Sep 2023Issue to create row with column id primary key sequence (postgreSQL)table : var table = $("#listSauvegarde").DataTable({ columns: [ { data: 'id' }, { data: 'client_name'
- 13th Sep 2023Column not collapsing when data overflowsChrome and it seems to happen at 420px and below. Take a look at the resolution in 361px wide for example. The columns are supposed to collapse under the green buttons when there isn't enough room.
- 10th Sep 2023How can I make a pdfHtml5 occupy the entire width of the page?That's not what I'm looking for. What I need is that if my table has 2 columns, or if I have 3 or 4 columns, they cover the entire page, regardless of the width assigned in the table structure.
- 10th Sep 2023Date Format and Sorting IssueTry this for your column: columns: [ { data: "yourDateField", render: function ( data, type, row ) { return moment(data).format('DD/MMM/YYYY'); } }, The following isn't really used for rendering but to tell the ultimate date sorting plugin what the date format is: $.fn.dataTable.moment('DD/MMM/YYYY'); https://datatables.net/blog/2014-12-18
- 8th Sep 2023Best way to filter data in multiple tables using one sourcecolumn().search() could be used to search for data in a specific column. If you need something more complex (i.e. conditionals over multiple columns) then a custom search function could be used. Allan