Quantcast
Channel: Free community support — DataTables forums

Server Side Processing Seems Returns Invalid JSON If Double Quotes Are...

Hello, After a lot of testing and attempting to nail down where my problem is coming from, I have pretty much narrowed it down to he following: I am using the server side processing to handle a large...

View Article


Using Server Side Script: How Can I Make A Link (URL) From Two Columns (Same...

I know that I can not be the only person trying to sort this out but surprisingly there does not seem to be much in the way of information about how to do this. I have one table that stores the links...

View Article


Search executed multiple times

Link to test case: https://codepen.io/MadBoyEvo/pen/qBqodwB Description of problem: I'm trying to connect reliably Charts with DataTables. It does work for most bar charts, donuts, and so on - just...

View Article

Search by column doesn't care for column number

Link to test case: https://codepen.io/MadBoyEvo/pen/ZEBxbGw Description of problem: In a chart there is this code for events (line 350): events: { click: function (event, chartContext, config) { },...

View Article

Trying to pass selected rows to php

I have a datatable setup with select enabled. I can select a number of rows, and grab the data but how do I pass that through ajax into my php page? I'd like to loop through the array of selected rows...

View Article


DataTables warning: table id=table_id - Cannot reinitialise DataTable.

Hi, I'm working on Flask with Mysql using SQLAlchemy .. It's working fine with datatable .. but my problem that when start server or add new entry i get message error bellow **DataTables warning: table...

View Article

The server returns json, which includes 2 segments of data, and the 2...

<script > $(document).ready(function() { $.ajax({ url:'/queryseller/queryseller', type: 'POST', data:{ date:currtime, csrfmiddlewaretoken:$('[name=csrfmiddlewaretoken]').val(), },...

View Article

Datatable problem with Select All and Get Data Select All

Hello everybody, Sorry for english For the past few days, I have been facing some issues with Datatable. In my script, I want to be able to select all the rows in my table (not just those present on...

View Article


How format columns as time and keep format in Excel download?

Description of problem: I'm using dataTables 1.10.23 and have a table with some columns that make some calculates time in hh:mm:ss format. The data is showing in right way but when I download to Excel...

View Article


Datatable not showing drop down after dropdown change

Hi All, I am using datatable in that , one time calling on page load another time calling after ajax call. Requirement is first time datatable blank, once dropdown change datatable will fill. First...

View Article

Datatables sorting and filtering very slow(non-ajax)

I'm using the adminBSB Material design's theme: https://github.com/gurayyarar/AdminBSBMaterialDesign I have datatable of 254 rows with 6 columns. The sorting is enabled and I have added few filters,...

View Article

How to place the Individual column searching (text inputs) on thead

When I change the text input searching to thead, the searching function was not working How to place on thead with searching function? // DataTable var table = $('#arptable').DataTable({ "order": [],...

View Article

Multi item selection + SHIFT

I am using muti item selection like in https://datatables.net/extensions/select/examples/initialisation/multi.html. Is there any posibility to use the SHIFT key to select adyacente groups of rows?

View Article


$.fn.dataTable.ext.search.push is not called

below I mention the code - $(document).ready(function() { var table = $('#ooma-softwares-table').DataTable(); $.fn.dataTable.ext.search.push( function( settings, searchData, index, rowData, counter ) {...

View Article

Parsing of Editor POST data

The environment I am working in does not lend itself to using the pre-built backend libraries. My environment is in Python. That said, what would be be an appropriate way to parse the edit data POSTed...

View Article


Image may be NSFW.
Clik here to view.

Cell borders in the header does not fit with cell borders in table body

Hello, Link to test case: I could not create a reproduceable example in http://live.datatables.net/, however, I can point you to a site where I am using this DataTable. Link is...

View Article

Image may be NSFW.
Clik here to view.

Adjust first column height in responsive mode

Hello, I have a table with more than 20 colums so I am using responsive property as follows: var tablafiltros=$('.tablafiltros_fijo').DataTable( { dom: 'Bfrtip', "autoWidth" : false, buttons: ['csv',...

View Article


How To Add A Where Condition To Server Side Processing PHP

I need to ad a "WHERE" condition to my results. But am to sure where to add it exactly. If I were writing straight PHP I would add this: to my query: WHERE user_id = '2' But with using DataTables, I am...

View Article

One of my buttons is not doing anything

Below is the html for it. The only thing thats not working is the "btn-clone". <?xml version="1.0" encoding="UTF-8" ?> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@...

View Article

Datatable Select All ServerSide and Get Data recordsFiltered

Hello everybody, Sorry for english For the past few days, I have been facing some issues with Datatable. In my script, I want to be able to select all the rows in my table (not just those present on...

View Article

How to map and get Object ID when doing edit?

Hello, I have the below use case: const editor = new $.fn.dataTable.Editor({ ajax: { create: { type: 'POST', url: 'http://localhost:8080/api/v1/myEndpoint', contentType: 'application/json;...

View Article


Editor used to Import and format data

I just purchased the Editor specifically to be able to import data into a datatable. I was looking at the example, but my requirements are slightly different. Rather than having a table pre-populated,...

View Article


How to have a sub select in Field::inst() ?

Hi, I have this sub select, he work fine but is too long for 'Field::inst' What is the method for correct this ? Field::inst("(SELECT count(*) FROM llx_commandedet as cd LEFT JOIN llx_commande as c ON...

View Article

Need Responsive footer with '+' sign as others' rows, need solution...

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem:

View Article

How to show checked data in different pages of datatable on a modal

Hi. I’m using jquery datatable in serverside mode in my asp.net core 3.1 program.I’m using gyrocode checkboxes in the first column. Now what I want to do is to show all the checked rows’ data on a...

View Article


Change Profile Username

Hi, Please, how to change the username of my account? I want to change my username thank you in advance

View Article

can not solve datatable error http://datatables.net/tn/4

I'm implementing asp.net core 3.1. I have a JQuery Datatable that its first column has checkboxes. and I want after user checks some of rows then a message shows the selected rows' information to the...

View Article

Multi select Problem - Dropdown with multiple values from other table

Hello all, I have the following problem: In my table I have a dropdown field where several values can be selected. The values for this field are dynamically loaded from another table. The loading of...

View Article

Detailed/Expandable rows

Hello all, Okay to start off with i want to mimic the current behavior ( https://datatables.net/examples/api/row_details.html ). The current project im working on is a ASP.Net Core based solution....

View Article



Only in screenwidth above 991px table.row(this).data() returns undefined

So my mySQL CRUD project using the responsive dataTables.net plugin works fine as long as the screen width is less that 992px. Above that my variables using 'this' returns undefined and thus breaks my...

View Article