Error with jquery from datatables.mjs when running npm run build
Hi! I'm new using datatables, but I hve to say it's amazing and I am already in love with it. I am using it with vue3+vite, and it works fine witn the "npm run dev" command, but when I try to build it...
View Articleready() API documentation suggestion
I was providing an example of using ready() with multiple tables. The docs have this comment: Scope is set to an API instance for the DataTable in question. It took me a bit to figure out what this...
View ArticleMinor issue/bug in dataTables 2.2.0/2.2.1?
Debugger code (debug.datatables.net): function dtRowNumber(nRow, aData, iDisplayIndex, iDisplayIndexFull) { $("td:eq(0)", nRow).html(iDisplayIndexFull + 1); } var dqThreshold = 50; function...
View ArticleChanging the width of one column changes the width of the other columns with...
I'm using colResize to adjust the width of the columns, but when I reduce the the width of one column, the width of the others columns change too. I think it is because the table has a fixed width and...
View ArticleI want to add an export button that will export the data displayed in the table.
In my Laravel project, I am using the DataTables library. I want to add an export button that will export all the data in the table including all the pages(pagination) as an Excel file.
View ArticleEditor 2.4.0 setup test localhost error
Editor 2.4.0 Failed to load resource: the server responded with a status of 404 (editor.dataTables.css) test : https://editor.datatables.net/examples/simple/simple.html
View ArticleMain header bug /causes dropdown filters to dissapear /// yadcf.2.0 js and DT2.0
Description of the problem : After upgrading do yadcf 2.0 and datatables 2.0 , the main header of my application causes the dropdown filters from the columns below to become invisible and I get the...
View ArticleRedraw Datatables for data that is being passed into columns.
I'm currently working with React and where I'm creating a datatable passing a variable into columns such that a particular column is using this variable to do some calculations to be displayed. This...
View Articlehow to close the previous opened tr from td.dt-control
javascript: table.on('click', 'td.dt-control', function (e) { let tr = e.target.closest('tr'); let row = table.row(tr); if (row.child.isShown()) { row.child.hide(); } else { // Open this row...
View ArticleI have a how to question regarding duplicate key in DB2 table
When creating row in a DB2 table , if the key value already exists, Editor throws an error <br/><b>Warning</b>: db2_execute(): Statement Execute Failed in...
View ArticleCentering the pagination
Hello everyone. I'm migrating my DataTables plugin from 1.X to the latest 2.2.0 version, and thus transitioning from using DOM to Layout. Previously, I used to wrap both the info and pagination...
View ArticleSuggestion "Add Delete Local Storage as default to forum posts"
I have been developing with DT for a 18months and only today realised I had to delete local storage to get DT to refresh its settings. I have been hitting ctrl-shit-r to force a refresh and nothing...
View ArticleEdit data not associated with row, prevent row update
I'm having trouble searching the forums for a similar issue. I feel like this would be more common than I'm finding. But I have a row of data, and based on a bool, I'm popping up an editor on click to...
View ArticleHow can I get the color of a selected row to exactly match the hover color?
Link to test case: https://live.datatables.net/muloboda/1/edit Description of problem: As you can see when you set the select color to the same as the hover color there is a slight difference. It...
View Articlei have searchbuilder, in addition i want to add a custom filter button
https://live.datatables.net/dimipoma/1/edit my testcase. i have already a working searchbuilder. I want to add one more custom filter button name "current year", which when I click on this button...
View Articlehow can I automatically change the language of the table using the selector...
Hi, I have a problem with the datatable language, because by changing the language parameter directly in the code and reloading the page - everything works fine. The problem arises when I insert a...
View ArticleCan we have an action (create, edit ...) in field validation ?
Hello, I would like to know if it's possible to have a validator only on specific action at field level : Here, there is never 'test' in my log, what is wrong ? But with Global validator, it works...
View Articleissue with column reordering in RTL using ColReorder
Hi there, I'm encountering an issue with column reordering when using ColReorder in an RTL layout. The columns are not being reordered correctly. For a better understanding of the issue, please refer...
View ArticleFixed Header not working
https://codepen.io/Leefa/pen/XJrgzWg I can't get Fixed Header to work for me. I've include all the plugins/extensions I think. No idea what the problem is. I'm using bootsrap 4 too var table = new...
View Article