Search
23432 results 2651-2660
Forum
- 26th Aug 2021Using row grouping with fixed columnsActually, the Compatibility matrix shows the compatibility between RowGroup and FixedColumns. It would be better to update the matrix :)
- 21st Aug 2021Making dropdown list columnshelp: http://live.datatables.net/qemodapi/1/edit It uses columns.render to create the buttons.
- 12th Aug 2021How to fix first 4 columns in datatable, the rest will be collapsed for responsiveness.We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here. Cheers, Colin
- 29th Jul 2021How to get sums of a num and values using data from 2 columnsOne option is to use columns().data() chaining toArray() to get the data into two arrays (within an array). Then use a loop to access each element in the array for your calculation. See if this example gets you started: http://live.datatables.net/popacuwa/1/edit Kevin
- 20th Jul 2021show comparison in another columnsThe diff column would require rowspan to be used which isn't supported, by Datatables, in the tbody. One option might be to use the RowGroup extension. You can group by the index column then output the difference in the row added by RowGroup. For example: http://live.datatables.net/hicegewa/2/edit There are some comments in the example. See this example for rowGroup.endRender for more details. Kevin
- 11th Jul 2021How to calculate average from the data table Columnsis there any way to use it with the firebase?
- 2nd Jun 2021i have jQuery Data table in some columns contains font awesome iconsthat's no problem. if you don't know how to do it just search the forum. I think I posted a couple of things on that matter. Here is an example: { data: "contract_copy.done", render: function (data, type, row) { if (data <= '0') { return '<i class="fa fa-square-o fa-lg text-center" style="display:block" aria-hidden="true"></i>'; } return '<i class="fa fa-check-square-o fa-lg text-center" style="display:block" aria-hidden="true"></i>'; } }
- 25th May 2021I have two header one is for filter search for all columns and second one is use for exportingDuplicate of this thread - please don't post twice. Colin
- 20th Apr 2021footerCallback doesn´t sum columns on Server-Side responseyea!!... that was the solution... thanks again Kevin!! "footerCallback": function ( row, data, start, end, display ) { var rsTot = table.ajax.json(); var api = this.api(), data; $( api.column( 2 ).footer() ).html(rsTot.ent); $( api.column( 3 ).footer() ).html(rsTot.sal); $( api.column( 4 ).footer() ).html(rsTot.exi); $( api.column( 5 ).footer() ).html(rsTot.apd); $( api.column( 6 ).footer() ).html(rsTot.dis); }
- 16th Apr 2021Iterating through columns with a check box with the box that is checkedLooks like you are using the Gyrocode checkbox plugin which uses the Select extension. The example shows how to get the selected rows. Kevin