Quantcast
Channel: Recent Discussions — DataTables forums

Allow empty or existing value not in list when submit editor form

I have a <select> list in records from the main db publikasjon with values from a field isbn.litt_isbn. I pick the first available (=0) value from the DB field as an option and after submitting...

View Article


Can't sort on 1 specific column

I use PHP Server Side (Ozdemir Library) for the back-end of the table: SELECT l.LK_ID as id, d.LK_ID as secondid, LK_KLANTNR, LK_KYC as KYC_STATUS, p.name as LK_AFFILIATE, LK_NAAM, LK_NAAM as...

View Article


pdfHtml5 button to send table via PHPMailer

Hi all, I have partially succeeded with creating a send button to post filtered editor table data (using predefined search criteria) to phpmailer. The message comes thru, but the attachment file only...

View Article

Event when DT is really ready?

I was wondering if there's an event which I can hook into when DataTables is really finished loading. I know we can use initComplete or $table.ready() but those events/functions fire before row...

View Article

columnControl: pre load columnControl values when using searchList

Looking at the "Options via Ajax only" example it shows how searchList dropdowns can be populated by values returned in columnControl when the table is loaded via ajax. This is nice, but for my...

View Article


Vue3 ColumnControls custom content

How to describe new custom content in vue3? Tried few different ways but always ended at no registered myButton class. <template> <div class="card-body p-3"> <DataTable class="table...

View Article

Weird column count issue

Link to test case: Internal system so I can't really give you a usable link. =========================================== Debugger code (debug.datatables.net): I got a 403 error when I hit the button so...

View Article

TypeError in ColumnControl v1.0.6 when handling null values

Link to test case: https://live.datatables.net/reluqabe/1/ Link to Ajax data for test case: https://dummyjson.com/c/1e17-073c-43a5-9cca Description of problem: When using DataTables ColumnControl...

View Article


Image may be NSFW.
Clik here to view.

SearchPanes custom Order

I am currently creating a Custom Search pane with Custom Options. I have it working but it is completely ignoring the Order value. I've created several on the same Datatable manually typing out an...

View Article


Image may be NSFW.
Clik here to view.

the datatable field does not highlight selected rows

Good morning, I have a problem that I cannot understand. I use the datatable field in a web page and it works correctly: In another menu, the same configuration does not highlight selected items: The...

View Article

columnDefs how to target _all except one target without naming every index

I have my columnDefs with some targets like that columnDefs: [ { targets: [-1], className: 'dt-center', orderable: false }, { className: 'dt-head-center dt-body-left', targets: ['_all'] } ], but i want...

View Article

Image may be NSFW.
Clik here to view.

Why does server-side callback param need old format?

New to DataTables, and I've been experimenting with version 2.3.2. I have server-side data-handling working, having one test page that uses an MVC controller, while a separate page (Blazor) uses a...

View Article

Sorting arrows now positioned on the left of the rightmost column headings

I note that the examples now show the sorting arrows of the rightmost column headings positioned to the left rather than to the right, as previously. In which version was this change introduced and...

View Article


Added buttons CSS and JS, but Print button does not appear

I have DataTables working in my Django project and all of the functionality works fine. Now, I am trying to use the **buttons **extension to include a "print" button. My JQuery is set as follows......

View Article

Download builder URLs break after any single package gets a patch release

Link to test case: https://datatables.net/download/builder?dt/dt-2.3.2/b-3.2.3/b-html5-3.2.3/fh-4.0.2 Error messages shown: curl -I...

View Article


Small python module for creating Datatables - df2tables

I created a python module that converts data frames (python structure for data analysis) to Datatables. It may be useful for some people. Docs, demo: df2tables It is generally surprising how large...

View Article

Sort arrow position (before or after ?)

Hello dear datatables team, I'm trying to upgrade an old site using an old datatables version from 1.10 to 2.3.2. The upgrade seems fine until here except that I discovered a new behavior that I can't...

View Article


Dynamically assign column headers

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: I have a dataset, based on an Oracle query, where column names and counts might change. Is there a...

View Article

Sort icons in version 2.3.2

In my application, I'm using Bootstrap 4.5.2 and DataTables 2.3.2. Everything works except the display of the "sort asc" and "sort desc" icons in the table header. If I use version 2.3.0, everything...

View Article

Data Type seems to be detected from the data-order rather than the actual data

I have a row like this: <tr> <th>Information</th> </tr> <tr> <td data-order="1699675200" class="dt-type-numeric sorting_1"><a href="page?id=123">Text</a>...

View Article

Keyup event not firing for individual column filters

Link to test case: https://live.datatables.net/ronajuxi/1/edit?html,css,js,output Debugger code (debug.datatables.net): Debugger produced nothing when I ran it - almost as if it did not run. I have run...

View Article


Missing translation options for ARIA attributes

Hi, there are missing options to translate some of the ARIA attributes which are used and should be translated into other languages. These are missing on the contribute editor: aria.orderable...

View Article


Chat GPT-generated DataTables Configs – Helpful or Risky in Production?

Hi all, I’ve been experimenting with using ChatGPT to generate more complex DataTables configurations – for example combining serverSide, rowGroup, responsive, and buttons. It often gives me a working...

View Article

Minor request: Bootstrap floating labels for table controls

The Bootstrap floating labels are available for Editor fields, but it would also be a nice feature if that styling were available on the DataTables controls as well, such as Search and PageLength, etc.

View Article

Image may be NSFW.
Clik here to view.

initComplete event not fired because of an error

Hi, I'm struggling with an error I can't understand If the error is logged in console, the initComplete event doesn't get fired. Looking at dataTables.min code, I see 2 executions of this code the...

View Article


DateTime time only picker - default minute selection

I am using the standalone DateTime extension with luxon, set to format HH:mm. When you select an hour first, the minute selection defaults to the current time. Am I able to set a default to 00? If not,...

View Article

How to implement auto save and confirmation for unsaved changes with inline...

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: I'm trying to implement two features in DataTables Editor using inline editing with full row...

View Article

How do you make an Editor column sort by date asc and keep empties below...

The subject says it all. The date column has entries with dates yet to be assigned. If you click the header and sort by asc the empties display above those with dates which is natural sorting. However...

View Article

Populating SearchPanes from ServerSide

Hello, I am populating datatable from an SQL query via AJAX. It is working fine. Now I added searchPanes option to datatable but it is not being populated. Below is the JS part of my main page:...

View Article



Can the filtered record count be updated in the background, separately from...

When dealing with millions of records and using complex filters, calculating the total number of records and the filtered count on every request can take too long. In my current stored procedure,...

View Article


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