Quantcast
Channel: Free community support — DataTables forums

Column filters server side

Hello everyone, i wanna do this, but in server side: https://datatables.net/extensions/fixedheader/examples/options/columnFiltering.html I use codeigniter 4, library for ajax TablesIgniter. And my...

View Article


Converting hardcoded Html checkboxes using Gyro

Hello, I would like someone to show me how to use the Gyro plugin to convert the hard coded values in HTML. The Idea is to not override the current styling of each checkbox, and to add the select All...

View Article


where can i set the filter criteria in generated table?

Description of problem: trying to find where i can set the filter criteria scenario: 1. i use tabs. Tab#1 contains basic data. Tab#2 contains only the notes. notes has it's own separate table with...

View Article

Added a class to the li following the text

Hello I work locally, I encounter a problem to add a class. I try to add a class to the li, following the text inside but nothing helps I can't reach it....

View Article

Direct use of checkbox in data table

Hi, Is it possible to allow checkboxes to be edited directly on the data table? They currently work using the editor form, but ideally, I'd like the checkboxes to be editable without going into the...

View Article


Excel Export button from dataTable using VUEJS

Hello, I am struggling to make an excel export button using the dataTable object within a vue instance. As in the test link below, I can: 1. make the vuejs display the data from an array in HTML (using...

View Article

Uncaught TypeError: Cannot set property 'data' of null in datatable

Hello I am fetching the records using json response from controller in MVC. All the records are returned successfully from the controller side to .cshtml page but at my view side it cannot bind data to...

View Article

Problems with Field.options

Hi all, I'm using the latest version of Datatables along with the licenced version of Editor. Sadly my development environment is not visible on the internet so I can't link it here. In the database...

View Article


PDF'ing multiple tables

Link to test case: https://eventshub.pro/wpc-summary/?package_key=fo1j Debugger code (debug.datatables.net): n/a Error messages shown: n/a Description of problem: I have multiple dataTables on one page...

View Article


How to display two tables in a single page using two REST APIs?

Hi Tech Experts! I'm using Data tables plugin to display Sharepoint list items in the table using Sharepoint REST API. So, I have two different APIs. I'm able to show the first rest api data in first...

View Article

SearchPanes, Is there a way to know which columns is a searchpane related.

I'm implementing a feature for my website and I need to get the column that the search pane is applying its search/filter... I've tried a lot of things but haven't found an easy way to get the column...

View Article

numerical sort

<script type="text/javascript"> $(document).ready(function () { $("#DTable").dataTable({ "pageLength": 30, "lengthMenu": [ 10, 25, 30, 50, 75, 100 ], "bFilter": false, "aaSorting": [[ 0, 'asc'...

View Article

set sql-field with date-format

when clicking a checkbox I want one field to be set to '1', that works perfect. Additionally I need to keep track of the time when this happened. I have this code for this:...

View Article


Image may be NSFW.
Clik here to view.

Row Selection issue

Hello, this is my first question on this forum. Please advise if I haven't followed the guidelines when posting a question and I will make the appropriate fix. Link to test case: Test case Debugger...

View Article

Two field label in option

Hello Everone ! I need to put two name in label (in bold here) (on line " **** ->label( 'TYPE'+'NUMERO' )****" /* * Example PHP implementation used for the joinLinkTable.html example */ $db->sql(...

View Article


Create pivot with value using inline editing

Hi, I'm leftjoining a table to a pivot table with a price value, as expected items without an entry in the pivot table have no value in the price column. Would it be possible to create an entry in the...

View Article

Image may be NSFW.
Clik here to view.

Import CSV convert code to ID using table.ajax.json()

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: Hi I need to import CSV where 2 of the fields are code labels which have a corresponding ID to...

View Article


Adding and Removing a row indirectly from secondary table

Currently I have two tables, table 1 contains all the data, table 2 is empty, what i want is a toggle like functionality. If i check a checkbox, it added the checked row to the new table, if i uncheck...

View Article

Render ajax true/false as checkbox?

I've seen posts about setting className: 'select-checkbox' in columnDefs, but that doesn't seem to work for what I'm trying. My ajax data contains columns that have a true/false string as content, and...

View Article

I want to be able to resize the entire table. Please advise

so right now when I resize the browser the table does not resize with it. I tried reducing the width but it does not do the trick.

View Article

Image may be NSFW.
Clik here to view.

ie11 DataTables SearchBuilder Example Page mis-formatting

Link to test case: https://datatables.net/extensions/searchbuilder/examples/initialisation/simple.html Debugger code (debug.datatables.net): Error messages shown: No errors shown Description of...

View Article


pdfHtml5 Export to Nested Tables

When using pdfHtml5 to export to PDF, is it possible to export the data into nested tables? For example, columns 1-4 are in a row and then columns 5-8 are in the next row as a nested table. This is...

View Article


Image may be NSFW.
Clik here to view.

Pre select row of datatable in searchpanes that have hyperlink

As per the example given here I ran the demo and now in this html I have done some changes in the following portions: old portions: ~~ <tr> <td>Garrett Winters</td>...

View Article

How to get data from populated table?

Hello, How can I grab data from an already populated table? I don't want to select anything yet, just to simply grab everything back as an array of arrays for each row. I have declared a global...

View Article

Image may be NSFW.
Clik here to view.

Updating a DataTable with a JSON array

Link to test case: https://jsitor.com/KwPPsHOUx Description of problem: I am really struggling knowing where to start with this current issue I am having. I want to populate and replace the current...

View Article


Export Excel multiple Header with colspan

Hello, I have a problem, I have a table with several headers with colspan and when exporting to excel I only have the last line of the hearder. I tried several tutorials but it doesn't work! Could...

View Article

Datatables with control (sorting etc) are not read by NVDA using...

NVDA is not reading cells of the data table using ctlr+alt+arrow keys after the focus once goes to the column headers. As you can see in this example:...

View Article

error for updating a row holds chackbox in JQuery DataTable

Hi. I'm implementing asp.net core 3.1. I have JQuery DataTable and I implemented it in serverside mode. it has a few columns and the firs column holds checkboxes. After user selects some checkboxes and...

View Article

cant pass cheked column to controller - server side

Hi to all, sorry for the post, it's the first, ill try to doit better next time. I am trying to pass the selected columns to the controller, but I am failing at some point, since if I show it by...

View Article



Why did my Datatable didn't change the language?

I'm a newbie of using Datatables and have some problems. The string parts of the table, like "showing n to nn of nn entries" will not be shown in german. Also I can't select some row. I don't know why....

View Article