Quantcast
Channel: Recent Discussions — DataTables forums
Browsing all 82436 articles
Browse latest View live

PDF Page numbers

How to add page numbers in PDF?

View Article


DataTable refuses to populate

The below listed code is almost exactly out of the DataTables.Net documentation. I make an Ajax call to the server, code below, and the table does Not Populate HTML <table width="100%" id="example"...

View Article


How to get page numbers from printing pages from DataTables

I am trying to get an idea as to how to get the page number printed from ..... not for pdf or excel just from print button

View Article

Using datatables, server side processing, and formatting data using external...

So I have a series of pages which share a single header and footer. The header contains an include to a class.php file I created for my site. Inside this class, I have various functions that help in...

View Article

How do I assign a hyperlink on specific cells in my datatable? Please help

table = $('#table').DataTable({ "processing": true, "serverSide": true, "order": [], "ajax": { "url": "<?php echo site_url('home/get_data')?>", "type": "POST" } }, "columnDefs": [ { "targets": [...

View Article


Tab key press -> Table body scroll not working

Hi, Please help me when i tab key press table header options select and scroll working fine, but table body scrolling not working. How to fix this issue?...

View Article

Datatables - Buttons Applying Custom Style with Icon (Bootstrap)

Hi all, I am using the datatables Buttons plugin to export to pdf. I am able to use custom styling to the button using the following code : "processing": true, // for show progress bar "serverSide":...

View Article

Applying icon in place of text for cutom buttons

I have placed a custom Excel button for my datatable. buttons: [ { text: 'Excel', action: function ( e, dt, node, config ) { ExportRequests(); } } Instead of the text I want to apply icon on this...

View Article


Control ordering of labels in multi value column

I have a multi value column that I would like to not have sorted within the cell. For example the server returns the data in the following order C, F, A, D. The display is A, C, D, F. Is there an...

View Article


Upload image file name - incorrect

I need some help. I have been successful in uploading images and they are being stored on to my server. But the trouble is when I look in my database the file name is incorrect. Not sure why that it...

View Article

PostCreate, PostEdit and PostRemove logging to save on other database

I want to PostEdit to save logging on other database and no save to same database ! function logChange ($db, $action, $id, $values) { $db->insert('logs', array( 'user' => $_SESSION['user'],...

View Article

sum at bottom of tables in PDF report

I have an datatables implementation with total sum of columns at the bottom...when i use the datatables feature PDF report (button options) the sum leaves out. Any use here with the same problem and a...

View Article

Inline Editor

Inline editor using checkbox is not posting data back to the server whenever the user check/uncheck the checkbox. source code: https://editor.datatables.net/examples/api/checkbox.html

View Article


Working on Remote server - Error

Hi, i upload my script to PHP (v 5.3.29) server; I get Ajax errors - 500 (Internal Server Error) ; So i figured out the issue; when i write like this everything is fine, there is no problem; //if edit...

View Article

how to set default class for buttons ?

Hi, I use my own color scheme so I need to css the datatable also. Since I use multiple instances of datatables, I want to set it for all in one js file. Therefore I created a [name]-defaults.js with...

View Article


table.buttons(). Is not a function

I have had a number of working pages using the following function: buildTable() { console.log("at the build table"); if ( $.fn.DataTable.isDataTable( '#myTable' ) ) { console.log("table exists"); var...

View Article

How to produce custom Editor inline (not a popup)

Hi folks , I have edit button with all the rows of my table. What i basically want is that clicking on edit button that row entries should convert themselves in editable textboxes or checkboxes etc....

View Article


Our total calculation is off when using a filter! Any ideas?

We're using DataTables for reporting on some finance items, and I've come across the following issue: We are bringing in the entire recordset via a basic SQL query. This can be filtered by date, or...

View Article

Retrieve the Text of a Cell

Hello, I'm writing code that iterates through a table to update the contents of the cells. A row is set up this way: <td id="input"><a href="http://www.somelink.com">Input...

View Article

passing variables to datatables columns variable

I am new to jquery. I am trying to pass the column data/names as variable from an array. The column assignment is not working. The commented section works, but the variable assignment to columns field...

View Article
Browsing all 82436 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>