Quantcast
Channel: Recent Discussions — DataTables forums
Browsing all 82747 articles
Browse latest View live

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 Article


Image may be NSFW.
Clik here to view.

ready() 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 Article


Minor 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 Article

Image may be NSFW.
Clik here to view.

Changing 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 Article

I 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 Article


Image may be NSFW.
Clik here to view.

Editor 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 Article

Main 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 Article

Redraw 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 Article


how 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 Article


Image may be NSFW.
Clik here to view.

I 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 Article

Centering 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 Article

Suggestion "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 Article

Image may be NSFW.
Clik here to view.

Edit 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 Article


How 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 Article

Issue on datatable export

https://codepen.io/Navinraj/pen/gbYQbQr

View Article


i 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 Article

how 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 Article


Can 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 Article

issue 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 Article

Fixed 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
Browsing all 82747 articles
Browse latest View live


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