Pagination don't work when i remove and add rows
I have a table that i can remove and add rows, everything is working except when i´m in a page of the table and try remove or add any row, the table only recognizes the current page and the others...
View ArticleBug with newline characters CRLF in Editor
Hey, I'm using DataTables editor v2.3.2 with inline editing. I've one field with multiline text containing newline characters as CRLF configured as "textarea". My problem is: everytime I go to editing...
View ArticleSet select(dropdown menu) filters values
Hello, I'm trying to set the select filters(dropdown menus) with values coming from the server side. I can filter the columns using the search API, but I also would like to set the dropdown menus to...
View ArticleDatatables Vue Responsive: Dynamic Search With Ajax Not Updating The Child...
I'm using Datatables Vue Component with Responsive Plugin. There's dynamic search on page which works when user enters any keyword on the screen. But, it looks like the child row data is not getting...
View Articlephp 8.0 or higher
I need to update to php 8.2 and when I update to a version higher than 7.4, my datatable only shows 2 rows. My query produces 15 rows. Any help wouls be appreciated. I do not receive an error message,...
View ArticleI've got a rails partial that renders a datatable with search fields
But I need to initialize the table with several parameters before hand. I get ... DataTables warning: table id=datatable - Cannot reinitialise DataTable. not sure how to combine these two things...
View ArticleHeader and body column order mismatched when using exportOptions columns for...
Link to test case: https://codepen.io/stokes_dk/pen/yyBYXYV Debugger code (debug.datatables.net): opovot Error messages shown: Description of problem: Use column visibility to hide the Position column...
View ArticleLazy loading data for DataTables using Vue 3
Hi. First time DataTables user here, using datatables.net-dt 2.2 and datatables.net-vue3 3.0. Initially the page looks like this(removed uninteresting parts): <script setup lang="ts"> import...
View ArticleJavaScript not loading/available from CDN
I am using DataTables with the Editor in a legacy ASP.NET MVC 5.2 application. It is loading the DataTables scripts and stylesheets from the CDN. I haven't updated the versions since 2022. The app...
View ArticleWordPress Uncaught ReferenceError: jQuery is not defined
Link to test case: https://gceatemp.wpenginepowered.com/test-member-directory/ Debugger code (debug.datatables.net): Error messages shown: Uncaught ReferenceError: jQuery is not defined Description of...
View ArticleDataTables width
I am having a problem with the datatables width. If I revert back to version 2.1.8 the width of the table is fine. With the latest versions, since 2.2.0 and up to 2.2.2, it is not getting the width...
View ArticleFlexible table width example
I believe Datatables now adds style="width:100%" to the table tag if it doesn't exist. I wonder if style="width:100%" should be removed from the HTML tab as I don't believe it is needed now. Kevin
View ArticleSelect multiple dates with datepicker
I'm happy and successfully using the default datepicker in Editor. However, I now have a need to offer a datepicker that can 1. select multiple dates. 2. preload multiple dates It looks like the...
View ArticleSort by year-number
HI i have a table with a culumn formed as year-number . For example 2024-55 The problem is when i have 2024-6 datatable sort 2024-6 before 2024-55 in desc mode How can i solve ?
View ArticleProblem with PDF-button
Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: In a PDF File the title columns are not synchronous with the data columns. It seems that only the...
View ArticleDifference between $.fn.DataTable.ext.search.push and...
Hi, I'm asking this difference because I have a little issue now. If i do : myTable.columns(0).search(myString).draw() The old function ($.fn.DataTable.ext.search.push) is thrown on filtered data. But...
View ArticleHow to hide thead table in pdf document
{ extend: 'pdfHtml5', text: 'PDF paysage', orientation: 'landscape', pageSize: 'A4', title: function () { var titre = $('#titre_tableau').text(); return 'Salle d\'étude semaine ' + trim(titre_tableau);...
View ArticleHow do i pass components as a slot to from parent component?
Package Version: "dependencies": { "datatables.net-dt": "^2", "datatables.net-vue3": "^3", "vue": "^3.2.37" }, Description of problem: Hi there, I am using vue3 and I am trying to create a reusable...
View ArticleOrdering columns with different date formats
My data table has two columns with different date formats. I wish to be able to sort either column by date. One column is formatted as 15 Oct 08 and I use DataTable.datetime('D MMM YY'). This column...
View ArticleSearch Builder special character savestate issue
hello, I am successfully filtering with the custom search builder as below. When I refresh the page, the savestate does not seem to work, the results are not kept. This problem does not occur when I do...
View ArticlePDF Export with Custom Order - Column Headings not changing
Link to test case: https://live.datatables.net/cahacagi/1/edit Debugger code (debug.datatables.net): Cant seem to get that to work Error messages shown: None Description of problem: Hi In the example,...
View ArticleDatatables Vue 3 Component: Responsive Table's Child Rows are Cached and Not...
Here's the example: https://stackblitz.com/edit/datatables-net-vue3-reactive-optyvfrg If I put the table in responsive mode, and click on Search Data, the child row's data is not getting updated. I've...
View Article.Net Editor how to add raw Sql
Hello. Is there any way to add raw sql to editor instance? I want to add custom where, but I can't write it in existed Where function, because where condition written in other source. I've tried to use...
View ArticleDataTables search not working properly
I have code like below with inline editing function. If I remove all select option fields the search works fine, otherwise the search does not work properly. Table structure: <tbody> <?php...
View ArticleError sizing column datatable
i have problem with sizing column datatable even when I activate scrollX and scrollY, the column table still error
View ArticleTroubles with using layout
Hi there. My name is Benjamin. I have this DataTables init-call: var dt = $('#op').DataTable({ destroy: true, "order": [ [0, "asc"], [1, "asc"] ], "lengthMenu": [ [10, 15, 30, 50], [10, 15, 30, 50] ],...
View ArticleCustom Toolbar Not Visible on Export
We have created two custom toolbars in version 1.10 of Datatables Our code looks like this: .DataTable({ dom: '<"toolbar"><"toolbar2">Bfrtip', ... }); $("div.toolbar").html('<b>THIS...
View ArticleAmbiguous Column Error - Editor 2.4.1 Options
I have the following simple options code. In this case, the backend table Primary ID is the label since it's a simple list: editor.Field(new Field("Property.State").Options(new...
View ArticleEditor "datatable" field type depends on Select extension. Bug or a feature?
Error messages shown: Dev console says: "Uncaught TypeError: Cannot read properties of undefined (reading 'init')" in dataTables.editor.js:5598 This is on statement: "DataTable$4.select.init(api);"...
View ArticleHow to add default styling to datatable used inside Editor?
Description of problem: When using "datatable" field type in Editor, datatable is created automatically without any special table classes. In BS5, table needs at least classs "table" to be nice. Is...
View Article